Neos\Flow\ObjectManagement\ObjectManager::isRegistered PHP Метод

isRegistered() публичный Метод

Returns TRUE if an object with the given name is registered
public isRegistered ( string $objectName ) : boolean
$objectName string Name of the object
Результат boolean TRUE if the object has been registered, otherwise FALSE
    public function isRegistered($objectName)
    {
        if (isset($this->objects[$objectName])) {
            return true;
        }
        if ($objectName[0] === '\\') {
            throw new \InvalidArgumentException('Object names must not start with a backslash ("' . $objectName . '")', 1270827335);
        }
        return false;
    }