/** * @return string */ public function build() { $properties_name = []; foreach ($this->property->getFinalClass()->getProperties([T_EXTENDS, T_USE]) as $property) { if (!$property->isStatic()) { $properties_name[$property->name] = $property->name; } } return new Select($this->name, $properties_name, $this->property->name); }