public function getScope($objectName)
    {
        if (!isset($this->objects[$objectName])) {
            $hint = ($objectName[0] === '\\') ? ' Hint: You specified an object name with a leading backslash!' : '';
            throw new Exception\UnknownObjectException('Object "' . $objectName . '" is not registered.' . $hint, 1265367590);
        }
        return $this->objects[$objectName]['s'];
    }
public function getScope($objectName)
    {
        if (!isset($this->objects[$objectName])) {
            $hint = ($objectName[0] === '\\') ? ' Hint: You specified an object name with a leading backslash!' : '';
            throw new Exception\UnknownObjectException('Object "' . $objectName . '" is not registered.' . $hint, 1265367590);
        }
        return $this->objects[$objectName]['s'];
    }
public function getScope ( $ objectName ) { if ( ! isset ( $ this -> objects [ $ objectName ] ) ) { $ hint = ( $ objectName [ 0 ] === '\\' ) ? ' Hint: You specified an object name with a leading backslash!' : '' ; throw new Exception \ UnknownObjectException ( 'Object "' . $ objectName . '" is not registered.' . $ hint , 1265367590 ) ; } return $ this -> objects [ $ objectName ] [ 's' ] ; }
Returns the scope of the specified object.

@param string $objectName The object name
@return integer One of the Configuration::SCOPE_ constants
@throws Exception\UnknownObjectException
@api
Returns the scope of the specified object .