public NoCorrespondingEntityClassException::__construct($class)
Constructs an NoCorrespondingEntityClassException.
string $class: The class which does not correspond to an entity type.
public function __construct($class) { $message = sprintf('The %s class does not correspond to an entity type.', $class); parent::__construct($message); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Exception!NoCorrespondingEntityClassException.php/function/NoCorrespondingEntityClassException::__construct/8.1.x