1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 02:06:32 +02:00

[ticket/15276] Update file_info

PHPBB3-15276
This commit is contained in:
Rubén Calvo
2017-08-08 14:43:38 +02:00
parent 8d7336e57c
commit 400e663347
3 changed files with 63 additions and 1 deletions

View File

@@ -85,4 +85,15 @@ interface adapter_interface
* When the file cannot be copied
*/
public function copy($path_orig, $path_dest);
/**
* Get file info.
*
* @param string $path The file
*
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
*
* @return \phpbb\storage\file_info Returns file_info object
*/
public function file_properties($path);
}