src/Prettus/Repository/Generators/RepositoryEloquentGenerator.php
public function getFillable()
    {
        if (!$this->fillable) {
            return '[]';
        }
        $results = '[' . PHP_EOL;

        foreach ($this->getSchemaParser()->toArray() as $column => $value) {
            $results .= "\t\t'{$column}'," . PHP_EOL;
        }

        return $results . "\t" . ']';
    }
public function getFillable()
    {
        if (!$this->fillable) {
            return '[]';
        }
        $results = '[' . PHP_EOL;

        foreach ($this->getSchemaParser()->toArray() as $column => $value) {
            $results .= "\t\t'{$column}'," . PHP_EOL;
        }

        return $results . "\t" . ']';
    }
public function getFillable ( ) { if ( ! $ this -> fillable ) { return '[]' ; } $ results = '[' . PHP_EOL ; foreach ( $ this -> getSchemaParser ( ) -> toArray ( ) as $ column => $ value ) { $ results .= "\t\t'{$column}'," . PHP_EOL ; } return $ results . "\t" . ']' ; }
Get the fillable attributes.

@return string
Get the fillable attributes .