Eloquence\Behaviours\CamelCasing::isCamelCase PHP Method

isCamelCase() public method

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
return boolean
    public function isCamelCase()
    {
        return $this->enforceCamelCase or isset($this->parent) && method_exists($this->parent, 'isCamelCase') && $this->parent->isCamelCase();
    }