/** * @param string $resourceType * @return FilterValidatorInterface|null */ private function filterValidator($resourceType) { return $this->validators ? $this->validators->filterResources($resourceType) : null; }