imponeer/smarty-image

View on GitHub
src/Exceptions/AttributeMustBeStringException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Imponeer\Smarty\Extensions\Image\Exceptions;

use SmartyException;
use Throwable;

class AttributeMustBeStringException extends SmartyException
{

    public function __construct($attribute, $code = 0, Throwable $previous = null)
    {
        parent::__construct("resized_image requires \"$attribute\" to be string", $code, $previous);
    }

}