1 | <?php namespace jlourenco\comments; |
||
5 | class Comments |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * The Comments repository. |
||
10 | * |
||
11 | * @var \jlourenco\comments\Repositories\CommentRepositoryInterface |
||
12 | */ |
||
13 | protected $comments; |
||
14 | |||
15 | /** |
||
16 | * Create a new Blog instance. |
||
17 | * |
||
18 | * @param \jlourenco\comments\Repositories\CommentRepositoryInterface $comments |
||
19 | */ |
||
20 | public function __construct(CommentRepositoryInterface $comments) |
||
24 | |||
25 | /** |
||
26 | * Returns the comments repository. |
||
27 | *c |
||
28 | * @return \jlourenco\comments\Repositories\CommentRepositoryInterface |
||
29 | */ |
||
30 | public function getCommentsRepository() |
||
34 | |||
35 | /** |
||
36 | * Sets the comments repository. |
||
37 | * |
||
38 | * @param \jlourenco\comments\Repositories\CommentRepositoryInterface $comments |
||
39 | * @return void |
||
40 | */ |
||
41 | public function setCommentsRepository(CommentRepositoryInterface $comments) |
||
45 | |||
46 | } |
||
47 |