ThreadStatusManagerInterface
last analyzed

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 17
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
updateThreadStatusForParticipant() 0 5 ?
1
<?php
2
3
/*
4
 * This file is part of the MilioooMessageBundle package.
5
 *
6
 * (c) Michiel boeckaert <[email protected]>
7
 * This source file is subject to the MIT license that is bundled
8
 * with this source code in the file LICENSE.
9
 */
10
11
namespace Miliooo\Messaging\Manager;
12
13
use Miliooo\Messaging\User\ParticipantInterface;
14
use Miliooo\Messaging\Model\ThreadInterface;
15
use Miliooo\Messaging\ValueObjects\ThreadStatus;
16
17
/**
18
 * The interface for the threadmeta class
19
 *
20
 * @author Michiel Boeckaert <[email protected]>
21
 */
22
interface ThreadStatusManagerInterface
23
{
24
    /**
25
     * Updates the thread status for a given participant.
26
     *
27
     * @param ThreadStatus         $newThreadStatus The new thread status
28
     * @param ThreadInterface      $thread          The thread for whom we update the status
29
     * @param ParticipantInterface $participant     The participant for whom we update the status
30
     *
31
     * @return boolean true if the thread status was updated false otherwise
32
     */
33
    public function updateThreadStatusForParticipant(
0 ignored issues
show
Coding Style introduced by
function updateThreadStatusForParticipant() does not seem to conform to the naming convention (^(?:is|has|should|may|supports)).

This check examines a number of code elements and verifies that they conform to the given naming conventions.

You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.

Loading history...
34
        ThreadStatus $newThreadStatus,
35
        ThreadInterface $thread,
36
        ParticipantInterface $participant
37
    );
38
}
39