rostenkowski/imagestore

View on GitHub
src/Exceptions/ImageFileException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Rostenkowski\Resize\Exceptions;


use InvalidArgumentException;

/**
 * Invalid image type exception
 */
class ImageFileException extends InvalidArgumentException
{

    /**
     * @param string $filename
     */
    public function __construct($filename)
    {
        parent::__construct(sprintf('File %s does not exist or it is not an image.', var_export($filename, TRUE)));
    }

}