ACC SHELL
<?php
/**
* This file is part of the Nette Framework (http://nette.org)
* Copyright (c) 2004 David Grudl (http://davidgrudl.com)
*/
namespace Latte\Loaders;
use Latte;
/**
* Template loader.
*
* @author David Grudl
*/
class StringLoader extends Latte\Object implements Latte\ILoader
{
/**
* Returns template source code.
* @return string
*/
public function getContent($content)
{
return $content;
}
/**
* @return bool
*/
public function isExpired($content, $time)
{
return FALSE;
}
/**
* Returns fully qualified template name.
* @return string
*/
public function getChildName($content, $parent = NULL)
{
return $content;
}
}
ACC SHELL 2018