public function __construct(Filter $filter, $parentType) { parent::__construct($filter); $this->parentType = $parentType; }