1 | <?php |
||
14 | class PlainMessage extends AbstractMessage implements ArrayAccess |
||
15 | { |
||
16 | protected $name; |
||
17 | protected $arguments; |
||
18 | |||
19 | /** |
||
20 | * @param string $name |
||
21 | * @param array $arguments |
||
22 | */ |
||
23 | public function __construct($name, array $arguments = []) |
||
28 | |||
29 | /** |
||
30 | * @return array |
||
31 | */ |
||
32 | public function all() |
||
36 | |||
37 | /** |
||
38 | * @param string $name |
||
39 | * |
||
40 | * @return mixed |
||
41 | */ |
||
42 | public function get($name) |
||
46 | |||
47 | /** |
||
48 | * @param string $name |
||
49 | * |
||
50 | * @return bool |
||
51 | */ |
||
52 | public function has($name) |
||
56 | |||
57 | public function offsetExists($offset) |
||
61 | |||
62 | public function offsetGet($offset) |
||
66 | |||
67 | public function offsetSet($offset, $value) |
||
71 | |||
72 | public function offsetUnset($offset) |
||
76 | |||
77 | /** |
||
78 | * {@inheritdoc} |
||
79 | */ |
||
80 | public function getName() |
||
84 | |||
85 | public function __get($property) |
||
89 | |||
90 | public function __set($property, $value) |
||
94 | } |
||
95 |