PHP Class Owl\Http\Controllers\StockController

Inheritance: extends Controller
显示文件 Open project: owl/owl

Protected Properties

Property Type Description
$itemService
$stockService
$templateService
$userService

Public Methods

Method Description
__construct ( UserService $userService, ItemService $itemService, StockService $stockService, TemplateService $templateService )
destroy ( $openItemId ) : Response Remove the specified resource from storage.
index ( ) : Response Display a listing of the resource.
store ( Illuminate\Contracts\Events\Dispatcher $event ) : Illuminate\Http\Response Store a newly created resource in storage.

Method Details

__construct() public method

public __construct ( UserService $userService, ItemService $itemService, StockService $stockService, TemplateService $templateService )
$userService Owl\Services\UserService
$itemService Owl\Services\ItemService
$stockService Owl\Services\StockService
$templateService Owl\Services\TemplateService

destroy() public method

Remove the specified resource from storage.
public destroy ( $openItemId ) : Response
return Response

index() public method

Display a listing of the resource.
public index ( ) : Response
return Response

store() public method

Store a newly created resource in storage.
public store ( Illuminate\Contracts\Events\Dispatcher $event ) : Illuminate\Http\Response
$event Illuminate\Contracts\Events\Dispatcher
return Illuminate\Http\Response

Property Details

$itemService protected_oe property

protected $itemService

$stockService protected_oe property

protected $stockService

$templateService protected_oe property

protected $templateService

$userService protected_oe property

protected $userService