PHP Class Owl\Http\Controllers\ItemController

Inheritance: extends Controller
Afficher le fichier Open project: owl/owl

Protected Properties

Свойство Type Description
$itemService
$likeService
$stockService
$tagService
$templateService
$userService

Méthodes publiques

Méthode 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 méthode

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 méthode

public create ( $templateId = null )

destroy() public méthode

public destroy ( $openItemId )

edit() public méthode

public edit ( $openItemId )

history() public méthode

public history ( $openItemId )

index() public méthode

public index ( )

parse() public méthode

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

show() public méthode

public show ( $openItemId )

store() public méthode

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

update() public méthode

public update ( ItemUpdateRequest $request, string $openItemId, Illuminate\Contracts\Events\Dispatcher $event ) : mixed
$request Owl\Http\Requests\ItemUpdateRequest
$openItemId string
$event Illuminate\Contracts\Events\Dispatcher
Résultat 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