PHP Class Owl\Http\Controllers\ItemController

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

Protected Properties

Property Type Description
$itemService
$likeService
$stockService
$tagService
$templateService
$userService

Public Methods

Method Description
__construct ( UserService $userService, TagService $tagService, ItemService $itemService, LikeService $likeService, StockService $stockService, TemplateService $templateService )
create ( $templateId = null )
destroy ( $openItemId )
edit ( $openItemId )
history ( $openItemId )
index ( )
parse ( ) : Response POSTされたMarkdownをレンダリングし、json形式でreturn
show ( $openItemId )
store ( ItemStoreRequest $request, Illuminate\Contracts\Events\Dispatcher $event )
update ( ItemUpdateRequest $request, string $openItemId, Illuminate\Contracts\Events\Dispatcher $event ) : mixed

Method Details

__construct() public method

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

create() public method

public create ( $templateId = null )

destroy() public method

public destroy ( $openItemId )

edit() public method

public edit ( $openItemId )

history() public method

public history ( $openItemId )

index() public method

public index ( )

parse() public method

POSTされたMarkdownをレンダリングし、json形式でreturn
public parse ( ) : Response
return Response

show() public method

public show ( $openItemId )

store() public method

public store ( ItemStoreRequest $request, Illuminate\Contracts\Events\Dispatcher $event )
$request Owl\Http\Requests\ItemStoreRequest
$event Illuminate\Contracts\Events\Dispatcher

update() public method

public update ( ItemUpdateRequest $request, string $openItemId, Illuminate\Contracts\Events\Dispatcher $event ) : mixed
$request Owl\Http\Requests\ItemUpdateRequest
$openItemId string
$event Illuminate\Contracts\Events\Dispatcher
return mixed

Property Details

$itemService protected_oe property

protected $itemService

$likeService protected_oe property

protected $likeService

$stockService protected_oe property

protected $stockService

$tagService protected_oe property

protected $tagService

$templateService protected_oe property

protected $templateService

$userService protected_oe property

protected $userService