ParserInterface.php
25 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Device Detector - The Universal Device Detection library for parsing User Agents |
| 5 | * |
| 6 | * @link https://matomo.org |
| 7 | * |
| 8 | * @license http://www.gnu.org/licenses/lgpl.html LGPL v3 or later |
| 9 | */ |
| 10 | declare (strict_types=1); |
| 11 | namespace IAWPSCOPED\DeviceDetector\Yaml; |
| 12 | |
| 13 | /** @internal */ |
| 14 | interface ParserInterface |
| 15 | { |
| 16 | /** |
| 17 | * Parses the file with the given filename and returns the converted content |
| 18 | * |
| 19 | * @param string $file |
| 20 | * |
| 21 | * @return mixed |
| 22 | */ |
| 23 | public function parseFile(string $file); |
| 24 | } |
| 25 |