PHP Class Socieboy\Forum\Controllers\ConversationController

Inheritance: extends App\Http\Controllers\Controller
Afficher le fichier Open project: socieboy/forum

Protected Properties

Свойство Type Description
$conversationRepo Socieboy\Forum\Entities\Conversations\ConversationRepo

Méthodes publiques

Méthode Description
__construct ( ConversationRepo $conversationRepo )
edit ( string $slug ) : Illuminate\View\View Display the conversation edit form.
show ( string $slug ) : Illuminate\View\View Display a conversation and replies.
store ( ConversationRequest $request ) : Illuminate\Http\RedirectResponse Store the new conversation.
update ( UpdateReplyRequest $request, $slug ) : Illuminate\Http\RedirectResponse Update an existing conversation.

Method Details

__construct() public méthode

public __construct ( ConversationRepo $conversationRepo )
$conversationRepo Socieboy\Forum\Entities\Conversations\ConversationRepo

edit() public méthode

Display the conversation edit form.
public edit ( string $slug ) : Illuminate\View\View
$slug string
Résultat Illuminate\View\View

show() public méthode

Display a conversation and replies.
public show ( string $slug ) : Illuminate\View\View
$slug string
Résultat Illuminate\View\View

store() public méthode

Store the new conversation.
public store ( ConversationRequest $request ) : Illuminate\Http\RedirectResponse
$request Socieboy\Forum\Requests\ConversationRequest
Résultat Illuminate\Http\RedirectResponse

update() public méthode

Update an existing conversation.
public update ( UpdateReplyRequest $request, $slug ) : Illuminate\Http\RedirectResponse
$request Socieboy\Forum\Requests\UpdateReplyRequest
$slug
Résultat Illuminate\Http\RedirectResponse

Property Details

$conversationRepo protected_oe property

protected ConversationRepo,Socieboy\Forum\Entities\Conversations $conversationRepo
Résultat Socieboy\Forum\Entities\Conversations\ConversationRepo