1 | <?php |
||
21 | class DeleteThreadManager implements DeleteThreadManagerInterface |
||
22 | { |
||
23 | /** |
||
24 | * A thread repository instance. |
||
25 | * |
||
26 | * @var ThreadRepositoryInterface |
||
27 | */ |
||
28 | protected $threadRepository; |
||
29 | |||
30 | /** |
||
31 | * Constructor. |
||
32 | * |
||
33 | * @param ThreadRepositoryInterface $threadRepository A thread repository instance. |
||
34 | */ |
||
35 | public function __construct(ThreadRepositoryInterface $threadRepository) |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function deleteThread(ThreadInterface $thread, $flush = true) |
||
47 | } |
||
48 |