public function canCreate(ContainerInterface $container, $requestedName)
    {
        $fqcn = $this->getFQCN($requestedName);
        if ($fqcn === false) {
            return false;
        }

        return \class_exists($fqcn);
    }
public function canCreate(ContainerInterface $container, $requestedName)
    {
        $fqcn = $this->getFQCN($requestedName);
        if ($fqcn === false) {
            return false;
        }

        return \class_exists($fqcn);
    }
public function canCreate ( ContainerInterface $ container , $ requestedName ) { $ fqcn = $ this -> getFQCN ( $ requestedName ) ; if ( $ fqcn === false ) { return false ; } return \ class_exists ( $ fqcn ) ; }
Can the factory create an instance for the service?

@param  ContainerInterface $container
@param  string $requestedName
@return bool
Can the factory create an instance for the service?