| 1 | <?php |
||
| 11 | class FileSystemMap implements MapInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $name; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | private $source; |
||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | private $destination; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | private $client; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $name |
||
| 34 | * @param string $source |
||
| 35 | * @param string $destination |
||
| 36 | */ |
||
| 37 | 7 | public function __construct($name = null, $source = null, $destination = null) |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | 1 | public function getName() |
|
| 51 | |||
| 52 | /** |
||
| 53 | * @param string $name |
||
| 54 | * |
||
| 55 | * @return $this |
||
| 56 | */ |
||
| 57 | 7 | public function setName($name) |
|
| 63 | |||
| 64 | /** |
||
| 65 | * @param string $destination |
||
| 66 | * |
||
| 67 | * @return $this |
||
| 68 | */ |
||
| 69 | 7 | public function setDestination($destination) |
|
| 75 | |||
| 76 | /** |
||
| 77 | * @return string |
||
| 78 | */ |
||
| 79 | 4 | public function getDestination() |
|
| 83 | |||
| 84 | /** |
||
| 85 | * @param string $source |
||
| 86 | * |
||
| 87 | * @return $this |
||
| 88 | */ |
||
| 89 | 7 | public function setSource($source) |
|
| 95 | |||
| 96 | /** |
||
| 97 | * @return string |
||
| 98 | */ |
||
| 99 | 4 | public function getSource() |
|
| 103 | |||
| 104 | /** |
||
| 105 | * @return string |
||
| 106 | */ |
||
| 107 | public function getClient() |
||
| 111 | |||
| 112 | /** |
||
| 113 | * @param string $client |
||
| 114 | * |
||
| 115 | * @return $this |
||
| 116 | */ |
||
| 117 | public function setClient($client) |
||
| 123 | } |
||
| 124 |