updated core to 1.7.15
This commit is contained in:
31
system/src/Grav/Framework/File/YamlFile.php
Normal file
31
system/src/Grav/Framework/File/YamlFile.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* @package Grav\Framework\File
|
||||
*
|
||||
* @copyright Copyright (c) 2015 - 2021 Trilby Media, LLC. All rights reserved.
|
||||
* @license MIT License; see LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Grav\Framework\File;
|
||||
|
||||
use Grav\Framework\File\Formatter\YamlFormatter;
|
||||
|
||||
/**
|
||||
* Class YamlFile
|
||||
* @package Grav\Framework\File
|
||||
*/
|
||||
class YamlFile extends DataFile
|
||||
{
|
||||
/**
|
||||
* File constructor.
|
||||
* @param string $filepath
|
||||
* @param YamlFormatter $formatter
|
||||
*/
|
||||
public function __construct($filepath, YamlFormatter $formatter)
|
||||
{
|
||||
parent::__construct($filepath, $formatter);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user