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() |
||
54 | |||
55 | /** |
||
56 | * @param mixed $directory |
||
57 | */ |
||
58 | public function setDirectory($directory) |
||
62 | |||
63 | /** |
||
64 | * @return mixed |
||
65 | */ |
||
66 | public function getDirectory() |
||
70 | |||
71 | /** |
||
72 | * @param bool $isBranch |
||
73 | */ |
||
74 | public function setIsBranch($isBranch) |
||
78 | |||
79 | /** |
||
80 | * @return bool |
||
81 | */ |
||
82 | public function getIsBranch() |
||
86 | |||
87 | /** |
||
88 | * @param string $branch |
||
89 | */ |
||
90 | public function setBranch($branch) |
||
94 | |||
95 | /** |
||
96 | * @return string|null |
||
97 | */ |
||
98 | public function getBranch() |
||
102 | } |
||
103 |