public function setPrototypeId($objectOrId)
    {
        if ($objectOrId instanceof Prototype) {
            $objectOrId = $objectOrId->getId();
        }

        $this->setValue('prototypeId', (string) $objectOrId);
    }
public function setPrototypeId($objectOrId)
    {
        if ($objectOrId instanceof Prototype) {
            $objectOrId = $objectOrId->getId();
        }

        $this->setValue('prototypeId', (string) $objectOrId);
    }
public function setPrototypeId ( $ objectOrId ) { if ( $ objectOrId instanceof Prototype ) { $ objectOrId = $ objectOrId -> getId ( ) ; } $ this -> setValue ( 'prototypeId' , ( string ) $ objectOrId ) ; }
Set Item prototype identifier.

@param Prototype|string $objectOrId Prototype or its ID.

@since 0.1
Set Item prototype identifier .