public function isClassImplementationOf($className, $interfaceName)
    {
        $className = $this->prepareClassReflectionForUsage($className);

        $interfaceName = $this->cleanClassName($interfaceName);
        $this->loadOrReflectClassIfNecessary($interfaceName);

        return (isset($this->classReflectionData[$interfaceName][self::DATA_INTERFACE_IMPLEMENTATIONS][$className]));
    }
public function isClassImplementationOf($className, $interfaceName)
    {
        $className = $this->prepareClassReflectionForUsage($className);

        $interfaceName = $this->cleanClassName($interfaceName);
        $this->loadOrReflectClassIfNecessary($interfaceName);

        return (isset($this->classReflectionData[$interfaceName][self::DATA_INTERFACE_IMPLEMENTATIONS][$className]));
    }
public function isClassImplementationOf ( $ className , $ interfaceName ) { $ className = $ this -> prepareClassReflectionForUsage ( $ className ) ; $ interfaceName = $ this -> cleanClassName ( $ interfaceName ) ; $ this -> loadOrReflectClassIfNecessary ( $ interfaceName ) ; return ( isset ( $ this -> classReflectionData [ $ interfaceName ] [ self :: DATA_INTERFACE_IMPLEMENTATIONS ] [ $ className ] ) ) ; }
Tells if the specified class implements the given interface

@param string $className Name of the class
@param string $interfaceName interface to check for
@return boolean true if the class implements $interfaceName, otherwise false
@api
Tells if the specified class implements the given interface