public function __construct($login) { $this->login = $login; $this->ratings = new ArrayCollection(); }