public function MultiversionException::__construct in Multiversion 8
Same name and namespace in other branches
- 8.2 src/Entity/Exception/MultiversionException.php \Drupal\multiversion\Entity\Exception\MultiversionException::__construct()
Parameters
EntityInterface $entity:
null|string $message:
int $code:
\Exception $previous:
File
- src/
Entity/ Exception/ MultiversionException.php, line 20
Class
Namespace
Drupal\multiversion\Entity\ExceptionCode
public function __construct(EntityInterface $entity = NULL, $message = NULL, $code = 0, \Exception $previous = NULL) {
$this->entity = $entity;
parent::__construct($message, $code, $previous);
}