PHP Class App\Http\Controllers\Quarx\EventsController

Inheritance: extends App\Http\Controllers\Controller
Afficher le fichier Open project: YABhq/Quarx

Méthodes publiques

Méthode 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 méthode

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

all() public méthode

Display page list.
public all ( ) : Response
Résultat Response

calendar() public méthode

Calendar.
public calendar ( string $date = null ) : Response
$date string
Résultat Response

date() public méthode

Display page list.
public date ( $date ) : Response
Résultat Response

show() public méthode

Display the specified Page.
public show ( $id ) : Response
Résultat Response