PHP Class App\Http\Controllers\ProductController

Inheritance: extends Controller
Afficher le fichier Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Свойство Type Description
$productService App\services\ProductService

Méthodes publiques

Méthode Description
__construct ( ProductService $productService ) ProductController constructor.
bulk ( ) : Illuminate\Http\RedirectResponse
create ( ) : Illuminate\Contracts\View\View
edit ( $publicId ) : Illuminate\Contracts\View\View
getDatatable ( ) : Illuminate\Http\JsonResponse
index ( ) : Illuminate\Http\RedirectResponse
show ( $publicId )
store ( ) : Illuminate\Http\RedirectResponse
update ( $publicId ) : Illuminate\Http\RedirectResponse

Private Methods

Méthode Description
save ( boolean $productPublicId = false ) : Illuminate\Http\RedirectResponse

Method Details

__construct() public méthode

ProductController constructor.
public __construct ( ProductService $productService )
$productService App\services\ProductService

bulk() public méthode

public bulk ( ) : Illuminate\Http\RedirectResponse
Résultat Illuminate\Http\RedirectResponse

create() public méthode

public create ( ) : Illuminate\Contracts\View\View
Résultat Illuminate\Contracts\View\View

edit() public méthode

public edit ( $publicId ) : Illuminate\Contracts\View\View
$publicId
Résultat Illuminate\Contracts\View\View

getDatatable() public méthode

public getDatatable ( ) : Illuminate\Http\JsonResponse
Résultat Illuminate\Http\JsonResponse

index() public méthode

public index ( ) : Illuminate\Http\RedirectResponse
Résultat Illuminate\Http\RedirectResponse

show() public méthode

public show ( $publicId )

store() public méthode

public store ( ) : Illuminate\Http\RedirectResponse
Résultat Illuminate\Http\RedirectResponse

update() public méthode

public update ( $publicId ) : Illuminate\Http\RedirectResponse
$publicId
Résultat Illuminate\Http\RedirectResponse

Property Details

$productService protected_oe property

protected ProductService,App\Services $productService
Résultat App\services\ProductService