summaryrefslogtreecommitdiffstats
path: root/source/Command/User/AbstractCommand.php
blob: 00512c2fb47658061f9af34096f69c1579228175 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
/**
 * @author stev leibelt <artodeto@bazzline.net>
 * @since 2014-08-14 
 */

/**
 * Class Command_User_AbstractCommand
 */
abstract class Command_User_AbstractCommand extends Command_AbstractCommand implements Command_User_CommandInterface
{
    /**
     * @var array
     */
    protected $channels;

    /**
     * @var array
     */
    protected $roles;

    /**
     * @var File
     */
    protected $file;

    /**
     * @var array
     */
    protected $users;

    /**
     * @param array $channels
     */
    public function setChannels(array $channels)
    {
        $this->channels = $channels;
    }

    /**
     * @param array $roles
     */
    public function setRoles(array $roles)
    {
        $this->roles = $roles;
    }

    /**
     * @param \File $userFile
     */
    public function setUserFile(File $userFile)
    {
        $this->file = $userFile;
    }

    /**
     * @param array $users
     */
    public function setUsers(array $users)
    {
        $this->users = $users;
    }
}