1 | <?php |
||
10 | class OblistCollection extends AbstractCollection |
||
11 | { |
||
12 | /** |
||
13 | * Creates a new oblist within the collection. |
||
14 | * |
||
15 | * @param string $name The name of the oblist to create. |
||
16 | * @return Itafroma\Zork\State\Oblist The oblist created. |
||
17 | */ |
||
18 | 1 | public function create($name) |
|
24 | |||
25 | /** |
||
26 | * Retrieves an oblist by name. |
||
27 | * |
||
28 | * @param string $name The name of the oblist to retrieve. |
||
29 | * @return Itafroma\Zork\State\Oblist The oblist retrieved if it exists, null otherwise. |
||
30 | */ |
||
31 | 2 | public function get($name) |
|
35 | } |
||
36 |