for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace W2w\Lib\Apie\Exceptions;
use W2w\Lib\ApieObjectAccessNormalizer\Exceptions\ApieException;
/**
* Exception thrown when a class is expected of a certain interface.
*/
class InvalidClassTypeException extends ApieException
{
public function __construct(string $identifier, string $expectedInterface)
$message = $identifier . ' does not implement ' . $expectedInterface;
parent::__construct(500, $message);
}