Eloquence\Behaviours\CamelCasing::isCamelCase PHP Méthode

isCamelCase() public méthode

Determines whether the model (or its parent) requires camelcasing. This is required for pivot models whereby they actually depend on their parents for this feature.
public isCamelCase ( ) : boolean
Résultat boolean
    public function isCamelCase()
    {
        return $this->enforceCamelCase or isset($this->parent) && method_exists($this->parent, 'isCamelCase') && $this->parent->isCamelCase();
    }