PHP Class App\Http\Controllers\Quarx\BlogController

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

Public Methods

Method Description
__construct ( BlogRepository $blogRepo )
all ( ) : Response Display all Blog entries.
show ( $url ) : Response Display the specified Blog.
tag ( $tag ) : Response Display all Blog entries.

Method Details

__construct() public method

public __construct ( BlogRepository $blogRepo )
$blogRepo Yab\Quarx\Repositories\BlogRepository

all() public method

Display all Blog entries.
public all ( ) : Response
return Response

show() public method

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

tag() public method

Display all Blog entries.
public tag ( $tag ) : Response
return Response