__construct() __construct(string $className, $message = self::MESSAGE, $code = self::CODE) Construct a new exception. Parameters string $className Name of the invalid class $message $code
getClassName() getClassName() : string Get the name of the invalid class. Returns string — Name of the invalid class
concat() concat(string $message, string $name) Insert the name in a message Parameters string $message Error message string $name Name to insert