Newscoop\Entity\UserTopic::__construct PHP Метод

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

public __construct ( User $user, Topic $topic )
$user User
$topic Newscoop\NewscoopBundle\Entity\Topic
    public function __construct(User $user, \Newscoop\NewscoopBundle\Entity\Topic $topic)
    {
        $this->user = $user;
        $this->topic = $topic;
    }