PHP Class Learner\Http\Controllers\CategoryController

Inheritance: extends BaseController
Mostrar archivo Open project: RryLee/learner.video

Protected Properties

Property Type Description
$categories Learner\Repositories\CategoryRepositoryInterface

Public Methods

Method 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 method

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

show() public method

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

Property Details

$categories protected_oe property

protected CategoryRepositoryInterface,Learner\Repositories $categories
return Learner\Repositories\CategoryRepositoryInterface