1 | <?php |
||
9 | class Local extends _Abstract { |
||
10 | /** |
||
11 | * @inheritdoc |
||
12 | */ |
||
13 | 2 | public function __construct ($base_url, $host, $user = '', $password = '') { |
|
17 | /** |
||
18 | * @inheritdoc |
||
19 | */ |
||
20 | 2 | public function get_files_list ( |
|
34 | /** |
||
35 | * @inheritdoc |
||
36 | */ |
||
37 | 2 | public function file ($filename, $flags = null) { |
|
40 | /** |
||
41 | * @inheritdoc |
||
42 | */ |
||
43 | 2 | public function file_get_contents ($filename, $flags = null) { |
|
46 | /** |
||
47 | * @inheritdoc |
||
48 | */ |
||
49 | 2 | public function file_put_contents ($filename, $data, $flags = null) { |
|
52 | /** |
||
53 | * @inheritdoc |
||
54 | */ |
||
55 | 2 | public function copy ($source, $dest) { |
|
58 | /** |
||
59 | * @inheritdoc |
||
60 | */ |
||
61 | 2 | public function unlink ($filename) { |
|
64 | /** |
||
65 | * @inheritdoc |
||
66 | */ |
||
67 | 2 | public function file_exists ($filename) { |
|
70 | /** |
||
71 | * @inheritdoc |
||
72 | */ |
||
73 | 2 | public function rename ($oldname, $newname) { |
|
76 | /** |
||
77 | * @inheritdoc |
||
78 | */ |
||
79 | 2 | public function mkdir ($pathname, $mode = 0777, $recursive = false) { |
|
83 | /** |
||
84 | * @inheritdoc |
||
85 | */ |
||
86 | 2 | public function rmdir ($dirname) { |
|
89 | /** |
||
90 | * @inheritdoc |
||
91 | */ |
||
92 | 2 | public function is_file ($filename) { |
|
95 | /** |
||
96 | * @inheritdoc |
||
97 | */ |
||
98 | 2 | public function is_dir ($filename) { |
|
101 | /** |
||
102 | * @inheritdoc |
||
103 | */ |
||
104 | 2 | public function url_by_source ($source) { |
|
107 | /** |
||
108 | * @inheritdoc |
||
109 | */ |
||
110 | 2 | public function source_by_url ($url) { |
|
119 | } |
||
120 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.