PHP Class Learner\Http\Controllers\CategoryController

Inheritance: extends BaseController
Afficher le fichier Open project: RryLee/learner.video

Protected Properties

Свойство Type Description
$categories Learner\Repositories\CategoryRepositoryInterface

Méthodes publiques

Méthode Description
__construct ( Learner\Repositories\CategoryRepositoryInterface $categories ) Instance category repository.
show ( string $name ) : Illuminate\View\View Find all series in a category.

Method Details

__construct() public méthode

Instance category repository.
public __construct ( Learner\Repositories\CategoryRepositoryInterface $categories )
$categories Learner\Repositories\CategoryRepositoryInterface

show() public méthode

categories/{name} get
public show ( string $name ) : Illuminate\View\View
$name string
Résultat Illuminate\View\View

Property Details

$categories protected_oe property

protected CategoryRepositoryInterface,Learner\Repositories $categories
Résultat Learner\Repositories\CategoryRepositoryInterface