Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

NoVisitorFoundException.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\REST\Common\Output\Exceptions;
8
9 use RuntimeException;
10
14 class NoVisitorFoundException extends RuntimeException
15 {
21 public function __construct(array $classes)
22 {
23 parent::__construct(
24 sprintf(
25 'No visitor found for %s!',
26 implode(', ', $classes)
27 )
28 );
29 }
30 }
eZ\Publish\Core\REST\Common\Output\Exceptions\NoVisitorFoundException
No output visitor found exception.
Definition: NoVisitorFoundException.php:15
eZ\Publish\Core\REST\Common\Output\Exceptions\NoVisitorFoundException\__construct
__construct(array $classes)
Construct from tested classes.
Definition: NoVisitorFoundException.php:21
eZ\Publish\Core\REST\Common\Output\Exceptions
Definition: InvalidTypeException.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.