| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | interface FileClientInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Get the file server type identifier corresponding to the client's implementation. |
||
| 16 | * |
||
| 17 | * @return string |
||
| 18 | */ |
||
| 19 | public static function getServerType(); |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Get the implementation class name. |
||
| 23 | * |
||
| 24 | * @return string |
||
| 25 | */ |
||
| 26 | public static function getClassName(); |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Check if the connection settings have been set. |
||
| 30 | * |
||
| 31 | * @return boolean |
||
| 32 | */ |
||
| 33 | public function hasConnectionSettings(); |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Get the connection settings. |
||
| 37 | * |
||
| 38 | * @return ConnectionSettingsInterface |
||
| 39 | */ |
||
| 40 | public function getConnectionSettings(); |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Obtain an unique identifier for the given file name based on the connection settings. |
||
| 44 | * |
||
| 45 | * @param string $file |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | public function getFileLocationHash($file); |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Return the file content type and content. |
||
| 52 | * |
||
| 53 | * @param string $fileName |
||
| 54 | * @throws \Exception |
||
| 55 | * @return array(string, string) [$contentType, $content] |
||
|
|
|||
| 56 | */ |
||
| 57 | public function readFile($fileName); |
||
| 58 | } |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.