Bolt\Configuration\ResourceManager::hasPath PHP Method

hasPath() public method

Checks if the given name has a path associated with it
public hasPath ( string $name ) : boolean
$name string of path
return boolean
    public function hasPath($name)
    {
        if (strpos($name, '/') !== false) {
            $parts = explode('/', $name);
            $name = array_shift($parts);
        }
        return array_key_exists($name, $this->paths) || array_key_exists($name . 'path', $this->paths);
    }