public function of($name, $attributes = null)
    {
        if (! isset($this->drivers[$name])) {
            return $this->make($name, $attributes);
        }

        return $this->drivers[$name];
    }
public function of($name, $attributes = null)
    {
        if (! isset($this->drivers[$name])) {
            return $this->make($name, $attributes);
        }

        return $this->drivers[$name];
    }
public function of ( $ name , $ attributes = null ) { if ( ! isset ( $ this -> drivers [ $ name ] ) ) { return $ this -> make ( $ name , $ attributes ) ; } return $ this -> drivers [ $ name ] ; }
Get resource by given name, or create a new one.

@param  string  $name
@param  mixed  $attributes

@return \Orchestra\Resources\Router
Get resource by given name or create a new one .