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