@@ -50,7 +50,7 @@ public function __construct(
50
50
}
51
51
52
52
/**
53
- * { @inheritdoc}
53
+ * @inheritdoc
54
54
*/
55
55
public function write (string $ path , string $ contents , Config $ config ): void
56
56
{
@@ -63,7 +63,7 @@ public function write(string $path, string $contents, Config $config): void
63
63
}
64
64
65
65
/**
66
- * { @inheritdoc}
66
+ * @inheritdoc
67
67
*/
68
68
public function writeStream (string $ path , $ contents , Config $ config ): void
69
69
{
@@ -76,7 +76,7 @@ public function writeStream(string $path, $contents, Config $config): void
76
76
}
77
77
78
78
/**
79
- * { @inheritdoc}
79
+ * @inheritdoc
80
80
*/
81
81
public function move (string $ source , string $ destination , Config $ config ): void
82
82
{
@@ -85,7 +85,7 @@ public function move(string $source, string $destination, Config $config): void
85
85
}
86
86
87
87
/**
88
- * { @inheritdoc}
88
+ * @inheritdoc
89
89
*/
90
90
public function copy (string $ source , string $ destination , Config $ config ): void
91
91
{
@@ -94,7 +94,7 @@ public function copy(string $source, string $destination, Config $config): void
94
94
}
95
95
96
96
/**
97
- * { @inheritdoc}
97
+ * @inheritdoc
98
98
*/
99
99
public function delete (string $ path ): void
100
100
{
@@ -103,7 +103,7 @@ public function delete(string $path): void
103
103
}
104
104
105
105
/**
106
- * { @inheritdoc}
106
+ * @inheritdoc
107
107
*/
108
108
public function deleteDirectory (string $ path ): void
109
109
{
@@ -112,7 +112,7 @@ public function deleteDirectory(string $path): void
112
112
}
113
113
114
114
/**
115
- * { @inheritdoc}
115
+ * @inheritdoc
116
116
*/
117
117
public function createDirectory (string $ path , Config $ config ): void
118
118
{
@@ -123,7 +123,7 @@ public function createDirectory(string $path, Config $config): void
123
123
}
124
124
125
125
/**
126
- * { @inheritdoc}
126
+ * @inheritdoc
127
127
*/
128
128
public function setVisibility (string $ path , string $ visibility ): void
129
129
{
@@ -132,7 +132,7 @@ public function setVisibility(string $path, string $visibility): void
132
132
}
133
133
134
134
/**
135
- * { @inheritdoc}
135
+ * @inheritdoc
136
136
*/
137
137
public function fileExists (string $ path ): bool
138
138
{
@@ -165,31 +165,31 @@ public function fileExists(string $path): bool
165
165
}
166
166
167
167
/**
168
- * { @inheritdoc}
168
+ * @inheritdoc
169
169
*/
170
170
public function read (string $ path ): string
171
171
{
172
172
return $ this ->adapter ->read ($ path );
173
173
}
174
174
175
175
/**
176
- * { @inheritdoc}
176
+ * @inheritdoc
177
177
*/
178
178
public function readStream (string $ path )
179
179
{
180
180
return $ this ->adapter ->readStream ($ path );
181
181
}
182
182
183
183
/**
184
- * { @inheritdoc}
184
+ * @inheritdoc
185
185
*/
186
186
public function listContents (string $ path , bool $ deep ): iterable
187
187
{
188
188
return $ this ->adapter ->listContents ($ path , $ deep );
189
189
}
190
190
191
191
/**
192
- * { @inheritdoc}
192
+ * @inheritdoc
193
193
*/
194
194
public function fileSize (string $ path ): FileAttributes
195
195
{
@@ -198,7 +198,7 @@ public function fileSize(string $path): FileAttributes
198
198
}
199
199
200
200
/**
201
- * { @inheritdoc}
201
+ * @inheritdoc
202
202
*/
203
203
public function mimeType (string $ path ): FileAttributes
204
204
{
@@ -207,7 +207,7 @@ public function mimeType(string $path): FileAttributes
207
207
}
208
208
209
209
/**
210
- * { @inheritdoc}
210
+ * @inheritdoc
211
211
*/
212
212
public function lastModified (string $ path ): FileAttributes
213
213
{
@@ -216,16 +216,19 @@ public function lastModified(string $path): FileAttributes
216
216
}
217
217
218
218
/**
219
- * { @inheritdoc}
219
+ * @inheritdoc
220
220
*/
221
221
public function visibility (string $ path ): FileAttributes
222
222
{
223
223
$ result = $ this ->metadataProvider ->getMetadata ($ path );
224
224
return new FileAttributes ($ path , null , $ result ['visibility ' ]);
225
225
}
226
226
227
+ /**
228
+ * @inheritdoc
229
+ */
227
230
public function directoryExists (string $ path ): bool
228
231
{
229
- // TODO: Implement directoryExists() method.
232
+ return $ this -> adapter -> directoryExists ($ path );
230
233
}
231
234
}
0 commit comments