AppserverIo\Appserver\Naming\NamingDirectory::containsScheme PHP Метод

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

Query whether the passed name contains the scheme or not.
public containsScheme ( string $name ) : boolean
$name string The name to query for a scheme
Результат boolean TRUE if the name contains the scheme, else FALSE
    public function containsScheme($name)
    {
        return strpos($name, sprintf('%s:', $this->getScheme())) === 0;
    }