public function resourcePath($path = '')
    {
        if ($this->resourcePath) {
            return $this->resourcePath.($path ? '/'.$path : $path);
        }

        return $this->basePath('resources'.($path ? '/'.$path : $path));
    }
public function resourcePath($path = '')
    {
        if ($this->resourcePath) {
            return $this->resourcePath.($path ? '/'.$path : $path);
        }

        return $this->basePath('resources'.($path ? '/'.$path : $path));
    }
public function resourcePath ( $ path = '' ) { if ( $ this -> resourcePath ) { return $ this -> resourcePath . ( $ path ? '/' . $ path : $ path ) ; } return $ this -> basePath ( 'resources' . ( $ path ? '/' . $ path : $ path ) ) ; }
Get the resource path for the application.

@param  string|null  $path

@return string
Get the resource path for the application .