public function __construct(array $parts, array $attributes = array()) { parent::__construct($attributes); $this->parts = $parts; }