public function __construct(string $name) { parent::__construct(sprintf('Class or interface "%s" does not exist', $name)); }