1 | <?php |
||
22 | class ThreadProviderSpecificationAware implements SecureThreadProviderInterface |
||
23 | { |
||
24 | protected $threadProvider; |
||
25 | protected $canSeeThread; |
||
26 | |||
27 | /** |
||
28 | * Constructor. |
||
29 | * |
||
30 | * @param ThreadProviderInterface $threadProvider A thread provider instance |
||
31 | * @param CanSeeThreadSpecification $canSeeThread A canseethreadspecification |
||
32 | */ |
||
33 | public function __construct(ThreadProviderInterface $threadProvider, CanSeeThreadSpecification $canSeeThread) |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function findThreadForParticipant(ParticipantInterface $participant, $threadId) |
||
55 | } |
||
56 |