1 | <?php |
||
21 | class RemoveFileCommand |
||
22 | { |
||
23 | /** |
||
24 | * The file id. |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | private $id; |
||
29 | |||
30 | /** |
||
31 | * Constructor. |
||
32 | * |
||
33 | * @param string $anId The file id |
||
34 | * |
||
35 | * @throws \InvalidArgumentException when the id given is null |
||
36 | */ |
||
37 | public function __construct($anId) |
||
44 | |||
45 | /** |
||
46 | * Gets the file id. |
||
47 | * |
||
48 | * @return string |
||
49 | */ |
||
50 | public function id() |
||
54 | } |
||
55 |