mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +01:00
34 lines
600 B
PHP
34 lines
600 B
PHP
<?php
|
|
/**
|
|
* @package Grav\Framework\File
|
|
*
|
|
* @copyright Copyright (C) 2015 - 2018 Trilby Media, LLC. All rights reserved.
|
|
* @license MIT License; see LICENSE file for details.
|
|
*/
|
|
|
|
namespace Grav\Framework\File;
|
|
|
|
class File extends AbstractFile
|
|
{
|
|
/**
|
|
* Load a file from the filesystem.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function load()
|
|
{
|
|
return (string) parent::load();
|
|
}
|
|
|
|
/**
|
|
* Save file.
|
|
*
|
|
* @param string $data
|
|
* @throws \RuntimeException
|
|
*/
|
|
public function save($data)
|
|
{
|
|
parent::save($data);
|
|
}
|
|
}
|