public function __construct(Naming $naming, $useReference = true) { $this->naming = $naming; $this->useReference = $useReference; }