1 | <?php |
||
11 | class AddDirectory extends AbstractApi |
||
12 | { |
||
13 | private $directory; |
||
14 | |||
15 | private $isBranch = false; |
||
16 | |||
17 | private $branch; |
||
18 | |||
19 | /** |
||
20 | * {@inheritdoc} |
||
21 | */ |
||
22 | public function execute() |
||
48 | |||
49 | /** |
||
50 | * @param mixed $directory |
||
51 | */ |
||
52 | public function setDirectory($directory) |
||
56 | |||
57 | /** |
||
58 | * @return mixed |
||
59 | */ |
||
60 | public function getDirectory() |
||
64 | |||
65 | /** |
||
66 | * @param bool $isBranch |
||
67 | */ |
||
68 | public function setIsBranch($isBranch) |
||
72 | |||
73 | /** |
||
74 | * @return bool |
||
75 | */ |
||
76 | public function getIsBranch() |
||
80 | |||
81 | /** |
||
82 | * @param string $branch |
||
83 | */ |
||
84 | public function setBranch($branch) |
||
88 | |||
89 | /** |
||
90 | * @return string|null |
||
91 | */ |
||
92 | public function getBranch() |
||
96 | } |
||
97 |