PHP Class App\Http\Controllers\Quarx\EventsController

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

Public Methods

Method Description
__construct ( EventRepository $eventsRepo, EventService $eventService )
all ( ) : Response Display page list.
calendar ( string $date = null ) : Response Calendar.
date ( $date ) : Response Display page list.
show ( $id ) : Response Display the specified Page.

Method Details

__construct() public method

public __construct ( EventRepository $eventsRepo, EventService $eventService )
$eventsRepo Yab\Quarx\Repositories\EventRepository
$eventService Yab\Quarx\Services\EventService

all() public method

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

calendar() public method

Calendar.
public calendar ( string $date = null ) : Response
$date string
return Response

date() public method

Display page list.
public date ( $date ) : Response
return Response

show() public method

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