14 lines
262 B
PHP
14 lines
262 B
PHP
<?php
|
|
|
|
namespace Modules\Stylist\Theme\Exceptions;
|
|
|
|
use RuntimeException;
|
|
|
|
final class ThemeNotFoundException extends RuntimeException
|
|
{
|
|
public static function forKey(string $key): self
|
|
{
|
|
return new self("Theme [{$key}] was not found.");
|
|
}
|
|
}
|