imponeer/smarty-image

View on GitHub
src/Exceptions/AttributeMustBeNumericException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Imponeer\Smarty\Extensions\Image\Exceptions;

use SmartyException;
use Throwable;

class AttributeMustBeNumericException extends SmartyException
{

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

}