public function __construct(Project $project, $name = null, Client $client = null) { $this->setClient($client); $this->setData('project', $project); $this->setData('name', $name); }