ExtenderMayNotInherit
Less than 1 minute
ExtenderMayNotInherit
Exception thrown when an extender attempts to inherit from a forbidden class type.
class ExtenderMayNotInherit extends \Hazaar\Util\Exception\ExceptionThis exception is used to indicate that a class is not allowed to inherit from a specific type of class (e.g., final, abstract, or restricted base classes) due to framework or language constraints.
Methods
__construct
Constructs a new ExtenderMayNotInherit exception.
public __construct(string $type, string $child, string $class): voidParameters
| Parameter | Type | Description |
|---|---|---|
$type | string | The type of the class (e.g., 'final', 'abstract', 'restricted'). |
$child | string | the name of the child class attempting inheritance |
$class | string | the name of the parent class that inheritance was attempted from |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:24 +0000