src/Command/OperatorAbstractfactory.php
public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) {
        $interface = 'oat\search\base\command\OperatorConverterInterface';
        return (class_exists($requestedName) && in_array($interface , class_implements($requestedName)));
    }
public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) {
        $interface = 'oat\search\base\command\OperatorConverterInterface';
        return (class_exists($requestedName) && in_array($interface , class_implements($requestedName)));
    }
public function canCreateServiceWithName ( ServiceLocatorInterface $ serviceLocator , $ name , $ requestedName ) { $ interface = 'oat\search\base\command\OperatorConverterInterface' ; return ( class_exists ( $ requestedName ) && in_array ( $ interface , class_implements ( $ requestedName ) ) ) ; }
verify if class name is an existing operator
@param ServiceLocatorInterface $serviceLocator
@param type $name
@param type $requestedName
@return boolean
verify if class name is an existing operator