for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* This file is part of Esi\SimpleTpl.
*
* (c) 2006 - 2025 Eric Sizemore <[email protected]>
* This file is licensed under The MIT License. For the full copyright and
* license information, please view the LICENSE.md file that was distributed
* with this source code.
*/
namespace Esi\SimpleTpl\Exception;
use RuntimeException;
class TemplateHasNoContentException extends RuntimeException
{
public static function create(string $templatePath): self
return new self(\sprintf('"%s" does not appear to have any valid content.', $templatePath));
}