elboletaire/Watimage

View on GitHub
src/Exception/ExtensionNotLoadedException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace Elboletaire\Watimage\Exception;

class ExtensionNotLoadedException extends \Exception
{
    public function __construct($extension, $code = 0, \Exception $previous = null)
    {
        return parent::__construct(
            "PHP {$extension} extension is required by Watimage but it's not loaded.",
            $code,
            $previous
        );
    }
}