Closed wesleycavalcante closed 10 months ago
In this code below, when using in a parent class, like a BaseModel, for example.
$modelClass = self::class;
should return the name of the child class.
Suggestion:
$modelClass = get_called_class();
In this code below, when using in a parent class, like a BaseModel, for example.
should return the name of the child class.
Suggestion: