Neos.Media/Classes/Domain/Validator/AssetValidator.php
protected function initializeObject()
    {
        $assetValidatorImplementationClassNames = $this->reflectionService->getAllImplementationClassNamesForInterface(AssetValidatorInterface::class);
        foreach ($assetValidatorImplementationClassNames as $assetValidatorImplementationClassName) {
            $this->addValidator($this->objectManager->get($assetValidatorImplementationClassName));
        }
    }
protected function initializeObject()
    {
        $assetValidatorImplementationClassNames = $this->reflectionService->getAllImplementationClassNamesForInterface(AssetValidatorInterface::class);
        foreach ($assetValidatorImplementationClassNames as $assetValidatorImplementationClassName) {
            $this->addValidator($this->objectManager->get($assetValidatorImplementationClassName));
        }
    }
protected function initializeObject ( ) { $ assetValidatorImplementationClassNames = $ this -> reflectionService -> getAllImplementationClassNamesForInterface ( AssetValidatorInterface :: class ) ; foreach ( $ assetValidatorImplementationClassNames as $ assetValidatorImplementationClassName ) { $ this -> addValidator ( $ this -> objectManager -> get ( $ assetValidatorImplementationClassName ) ) ; } }
Adds all validators that extend the AssetValidatorInterface.

@return void
Adds all validators that extend the AssetValidatorInterface .