for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?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)));
}