AppserverIo\Appserver\Naming\NamingDirectory::stripSchema PHP Method

stripSchema() public method

Strip off the schema and return the directory part only.
public stripSchema ( string $name ) : string
$name string The directory, maybe containing the scheme
return string The directory without the scheme
    public function stripSchema($name)
    {
        return str_replace(sprintf('%s:', $this->getScheme()), '', $name);
    }