PHP Class FluxBB\Models\ConversationRepository

Inheritance: implements ConversationRepositoryInterface
Afficher le fichier Open project: fluxbb/core

Protected Properties

Свойство Type Description
$database

Méthodes publiques

Méthode Description
__construct ( Illuminate\Database\ConnectionInterface $database )
addReply ( $conversation, $post )
findById ( $id )
findPostById ( $id )
getPageOfPost ( $post, $perPage )
getPostsIn ( $conversation )

Method Details

__construct() public méthode

public __construct ( Illuminate\Database\ConnectionInterface $database )
$database Illuminate\Database\ConnectionInterface

addReply() public méthode

public addReply ( $conversation, $post )

findById() public méthode

public findById ( $id )

findPostById() public méthode

public findPostById ( $id )

getPageOfPost() public méthode

public getPageOfPost ( $post, $perPage )

getPostsIn() public méthode

public getPostsIn ( $conversation )

Property Details

$database protected_oe property

protected $database