Eloquence\Behaviours\CamelCasing::isCamelCase PHP 메소드

isCamelCase() 공개 메소드

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