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 |
/** * @param UserInterface $creator * * @return $this */ public function setCreator($creator) { $this->entity->setCreator($creator); return $this; }