YamlFile.php 639 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * @package Grav\Framework\File
  5. *
  6. * @copyright Copyright (C) 2015 - 2019 Trilby Media, LLC. All rights reserved.
  7. * @license MIT License; see LICENSE file for details.
  8. */
  9. namespace Grav\Framework\File;
  10. use Grav\Framework\File\Formatter\YamlFormatter;
  11. /**
  12. * Class YamlFile
  13. * @package Grav\Framework\File
  14. */
  15. class YamlFile extends DataFile
  16. {
  17. /**
  18. * File constructor.
  19. * @param string $filepath
  20. * @param YamlFormatter $formatter
  21. */
  22. public function __construct($filepath, YamlFormatter $formatter)
  23. {
  24. parent::__construct($filepath, $formatter);
  25. }
  26. }