public function path()
    {
        $routeKey = strpos($this->_path, ':');
        if ($routeKey !== false) {
            return substr($this->_path, 0, $routeKey);
        }

        return $this->_path;
    }
public function path()
    {
        $routeKey = strpos($this->_path, ':');
        if ($routeKey !== false) {
            return substr($this->_path, 0, $routeKey);
        }

        return $this->_path;
    }
public function path ( ) { $ routeKey = strpos ( $ this -> _path , ':' ) ; if ( $ routeKey !== false ) { return substr ( $ this -> _path , 0 , $ routeKey ) ; } return $ this -> _path ; }
Get the path this scope is for.

@return string
Get the path this scope is for .