for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Graze\CiffRenderer\Exception;
use \InvalidArgumentException;
use Graze\CiffRenderer\Exception\ExceptionInterface;
class UnsupportedDateFormatException extends InvalidArgumentException implements ExceptionInterface
{
/**
* @var string
*/
protected $format;
* @param string $format
* @param null|Exception $previous
public function __construct($format, \Exception $previous = null)
$this->format = $format;
$message = sprintf('Unsupported date format [%s]', $format);
parent::__construct($message, 0, $previous);
}
* @return string
public function getFormat()
return $this->format;