Eccube\Entity\Product::setCreator PHP Method

setCreator() public method

Set Creator
public setCreator ( Eccube\Entity\Member $creator ) : Product
$creator Eccube\Entity\Member
return Product
    public function setCreator(\Eccube\Entity\Member $creator)
    {
        $this->Creator = $creator;
        return $this;
    }

Usage Example

 /**
  * {@inheritDoc}
  */
 public function setCreator(\Eccube\Entity\Member $creator)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreator', array($creator));
     return parent::setCreator($creator);
 }