PHP Class App\Http\Controllers\Quarx\PagesController

Inheritance: extends App\Http\Controllers\Controller
Show file Open project: YABhq/Quarx

Public Methods

Method Description
__construct ( PageRepository $pagesRepo )
all ( ) : Response Display page list.
home ( ) : Response Homepage.
show ( string $url ) : Response Display the specified Page.

Method Details

__construct() public method

public __construct ( PageRepository $pagesRepo )
$pagesRepo Yab\Quarx\Repositories\PageRepository

all() public method

Display page list.
public all ( ) : Response
return Response

home() public method

Homepage.
public home ( ) : Response
return Response

show() public method

Display the specified Page.
public show ( string $url ) : Response
$url string
return Response