PHP Class App\Http\Controllers\ProductController

Inheritance: extends Controller
Datei anzeigen Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Property Type Description
$productService App\services\ProductService

Public Methods

Method 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

Method Description
save ( boolean $productPublicId = false ) : Illuminate\Http\RedirectResponse

Method Details

__construct() public method

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

bulk() public method

public bulk ( ) : Illuminate\Http\RedirectResponse
return Illuminate\Http\RedirectResponse

create() public method

public create ( ) : Illuminate\Contracts\View\View
return Illuminate\Contracts\View\View

edit() public method

public edit ( $publicId ) : Illuminate\Contracts\View\View
$publicId
return Illuminate\Contracts\View\View

getDatatable() public method

public getDatatable ( ) : Illuminate\Http\JsonResponse
return Illuminate\Http\JsonResponse

index() public method

public index ( ) : Illuminate\Http\RedirectResponse
return Illuminate\Http\RedirectResponse

show() public method

public show ( $publicId )

store() public method

public store ( ) : Illuminate\Http\RedirectResponse
return Illuminate\Http\RedirectResponse

update() public method

public update ( $publicId ) : Illuminate\Http\RedirectResponse
$publicId
return Illuminate\Http\RedirectResponse

Property Details

$productService protected_oe property

protected ProductService,App\Services $productService
return App\services\ProductService