PHP Class Socieboy\Forum\Controllers\ForumController

Inheritance: extends Illuminate\Routing\Controller
Show file Open project: socieboy/forum

Protected Properties

Property Type Description
$conversationRepo Socieboy\Forum\Entities\Conversations\ConversationRepo

Public Methods

Method Description
__construct ( ConversationRepo $conversationRepo )
index ( ) : Illuminate\View\View Display the main page of the forum.
search ( Illuminate\Http\Request $request ) : Illuminate\View\View Search
topic ( string $topic_id ) : Illuminate\View\View Display the main page of the forum.

Method Details

__construct() public method

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

index() public method

All conversations are listed.
public index ( ) : Illuminate\View\View
return Illuminate\View\View

topic() public method

All conversations are listed.
public topic ( string $topic_id ) : Illuminate\View\View
$topic_id string
return Illuminate\View\View

Property Details

$conversationRepo protected property

protected ConversationRepo,Socieboy\Forum\Entities\Conversations $conversationRepo
return Socieboy\Forum\Entities\Conversations\ConversationRepo