1 | <?php |
||
24 | class DeleteThreadManagerSpecificationAware implements DeleteThreadManagerSecureInterface |
||
25 | { |
||
26 | /** |
||
27 | * A delete thread manager instance. |
||
28 | * |
||
29 | * @var DeleteThreadManagerInterface |
||
30 | */ |
||
31 | protected $deleteThreadManager; |
||
32 | |||
33 | /** |
||
34 | * A can delete thread specification instance. |
||
35 | * |
||
36 | * @var CanDeleteThreadSpecification |
||
37 | */ |
||
38 | protected $canDeleteThread; |
||
39 | |||
40 | /** |
||
41 | * Constructor. |
||
42 | * |
||
43 | * @param DeleteThreadManagerInterface $deleteThreadManager |
||
44 | * @param CanDeleteThreadSpecification $canDeleteThread |
||
45 | */ |
||
46 | public function __construct( |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | public function deleteThread(ParticipantInterface $participant, ThreadInterface $thread) |
||
65 | } |
||
66 |