setCreator() публичный Метод

Set creator.
public setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null ) : Sulu\Bundle\MediaBundle\Entity\CollectionInterface
$creator Sulu\Component\Security\Authentication\UserInterface
Результат Sulu\Bundle\MediaBundle\Entity\CollectionInterface
Пример #1
0
 /**
  * @param UserInterface $creator
  *
  * @return $this
  */
 public function setCreator($creator)
 {
     $this->entity->setCreator($creator);
     return $this;
 }