1 | <?php |
||
5 | class Action |
||
6 | { |
||
7 | /** |
||
8 | * $type. |
||
9 | * |
||
10 | * @var string |
||
11 | */ |
||
12 | public $type; |
||
13 | |||
14 | /** |
||
15 | * $method. |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | public $method; |
||
20 | |||
21 | /** |
||
22 | * $parameters. |
||
23 | * |
||
24 | * @var mixed |
||
25 | */ |
||
26 | public $parameters; |
||
27 | |||
28 | /** |
||
29 | * __construct. |
||
30 | * |
||
31 | * @param string $type |
||
32 | * @param string $method |
||
33 | * @param array $parameters |
||
34 | */ |
||
35 | 24 | public function __construct($type, $method, $parameters = []) |
|
41 | } |
||
42 |