__construct() public méthode

Generates: Could not find '{$what}' with identifier '{$identifier}'.
public __construct ( string $what, mixed $identifier, Exception $previous = null )
$what string
$identifier mixed
$previous Exception
 /**
  * Creates a new exception for $typeId in $status;.
  *
  * @param mixed $typeGroupId
  * @param mixed $status
  */
 public function __construct($typeGroupId)
 {
     parent::__construct('eZ\\Publish\\SPI\\Persistence\\Content\\Type\\Group', sprintf('ID: %s', $typeGroupId));
 }
Exemple #2
0
 /**
  * Creates a new exception for $typeName.
  *
  * @param mixed $typeName
  */
 public function __construct($typeName)
 {
     parent::__construct('eZ\\Publish\\SPI\\Persistence\\Content\\FieldValue\\Converter\\*', $typeName);
 }
 /**
  * Creates a new exception for $typeId in $status;.
  *
  * @param mixed $typeId
  * @param mixed $status
  */
 public function __construct($typeId, $status)
 {
     parent::__construct('eZ\\Publish\\SPI\\Persistence\\Content\\Type', sprintf('ID: %s, Status: %s', $typeId, $status));
 }
 /**
  * Creates a new exception for $roleId in $status.
  *
  * @param mixed $roleId
  * @param mixed $status
  */
 public function __construct($roleId, $status)
 {
     parent::__construct('eZ\\Publish\\SPI\\Persistence\\User\\Role', sprintf('ID: %s, Status: %s', $roleId, $status));
 }
 public function __construct($path, Exception $previous = null)
 {
     parent::__construct('BinaryFile', $path, $previous);
 }
 public function __construct($path, Exception $previous = null)
 {
     parent::__construct('Composer lockfile', $path, $previous);
 }