for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Andrew Coulton <[email protected]>
* @copyright 2015 inGenerator Ltd
* @license http://kohanaframework.org/license
*/
namespace Ingenerator\KohanaView\Exception;
* Thrown when there are problems caching a template
*
* @package Ingenerator\KohanaView\Exception
class TemplateCacheException extends \RuntimeException
{
* @param string $path
* @return static
public static function cannotCreateDirectory($path)
return new static(
"Cannot create template cache directory in '$path'"
);
}
public static function pathNotWriteable($path)
return new static("Cannot write to compiled template path '$path'");