public function getRouteOptions($path)
    {
        $routeName = ltrim($path, '/');
        if (!isset($this->routeOptions[$routeName])) {
            return [];
        }
        return $this->routeOptions[$routeName];
    }
public function getRouteOptions($path)
    {
        $routeName = ltrim($path, '/');
        if (!isset($this->routeOptions[$routeName])) {
            return [];
        }
        return $this->routeOptions[$routeName];
    }
public function getRouteOptions ( $ path ) { $ routeName = ltrim ( $ path , '/' ) ; if ( ! isset ( $ this -> routeOptions [ $ routeName ] ) ) { return [ ] ; } return $ this -> routeOptions [ $ routeName ] ; }
Return options by route
@param  string $path Route name
@return array        Options
Return options by route