protected function writeType(KalturaTypeReflector $type) { if ($type->isFilterable()) { $this->writeBaseFilterForType($type); $this->writeFilterForType($type); $this->writeOrderByEnumForType($type); } }