public static function getFillables()
    {
        $instance = static::getInstance();

        $fillable = $instance->fillable;

        if($fillable == array('*') || !$fillable){
            $instance->fillable = array_keys($instance->getStructure());
        }

        return $instance->fillable;
    }
public static function getFillables()
    {
        $instance = static::getInstance();

        $fillable = $instance->fillable;

        if($fillable == array('*') || !$fillable){
            $instance->fillable = array_keys($instance->getStructure());
        }

        return $instance->fillable;
    }
public static function getFillables ( ) { $ instance = static :: getInstance ( ) ; $ fillable = $ instance -> fillable ; if ( $ fillable == array ( '*' ) || ! $ fillable ) { $ instance -> fillable = array_keys ( $ instance -> getStructure ( ) ) ; } return $ instance -> fillable ; }
Get fillables columns from model helpers

@return array
Get fillables columns from model helpers