PHPDaemon\Servers\WebSocket\Pool::routeExists PHP 메소드

routeExists() 공개 메소드

Checks if route exists
public routeExists ( string $path ) : boolean
$path string Route name
리턴 boolean Exists?
    public function routeExists($path)
    {
        $routeName = ltrim($path, '/');
        return isset($this->routes[$routeName]);
    }