public function __construct() { parent::__construct(); $this->setProperties(new Collection()); $this->setMethods(new Collection()); $this->setUsedTraits(new Collection()); }