1 | <?php |
||
13 | class AddDirectory extends AbstractApi |
||
14 | { |
||
15 | /** @var string */ |
||
16 | protected $directory; |
||
17 | |||
18 | /** @var bool */ |
||
19 | protected $isBranch = false; |
||
20 | |||
21 | /** @var string */ |
||
22 | protected $branch; |
||
23 | |||
24 | /** |
||
25 | * {@inheritdoc} |
||
26 | */ |
||
27 | public function execute() |
||
53 | |||
54 | /** |
||
55 | * @param mixed $directory |
||
56 | */ |
||
57 | public function setDirectory($directory) |
||
61 | |||
62 | /** |
||
63 | * @return mixed |
||
64 | */ |
||
65 | public function getDirectory() |
||
69 | |||
70 | /** |
||
71 | * @param bool $isBranch |
||
72 | */ |
||
73 | public function setIsBranch($isBranch) |
||
77 | |||
78 | /** |
||
79 | * @return bool |
||
80 | */ |
||
81 | public function getIsBranch() |
||
85 | |||
86 | /** |
||
87 | * @param string $branch |
||
88 | */ |
||
89 | public function setBranch($branch) |
||
93 | |||
94 | /** |
||
95 | * @return string|null |
||
96 | */ |
||
97 | public function getBranch() |
||
101 | } |
||
102 |