12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- declare(strict_types=1);
- /**
- * @package Grav\Framework\File
- *
- * @copyright Copyright (c) 2015 - 2023 Trilby Media, LLC. All rights reserved.
- * @license MIT License; see LICENSE file for details.
- */
- namespace Grav\Framework\File;
- use Grav\Framework\File\Formatter\IniFormatter;
- /**
- * Class IniFile
- * @package RocketTheme\Toolbox\File
- */
- class IniFile extends DataFile
- {
- /**
- * File constructor.
- * @param string $filepath
- * @param IniFormatter $formatter
- */
- public function __construct($filepath, IniFormatter $formatter)
- {
- parent::__construct($filepath, $formatter);
- }
- /**
- * @return array
- */
- public function load(): array
- {
- /** @var array */
- return parent::load();
- }
- }
|