src/ConfigurableModel.php
public function iniFillable(Collection $attributes)
    {
        $this->fillable = $attributes->filter(function ($attribute) {
            return $attribute->getFillable();
        })->map(function ($attribute) {
            return $attribute->getName();
        })->toArray();
    }
public function iniFillable(Collection $attributes)
    {
        $this->fillable = $attributes->filter(function ($attribute) {
            return $attribute->getFillable();
        })->map(function ($attribute) {
            return $attribute->getName();
        })->toArray();
    }
public function iniFillable ( Collection $ attributes ) { $ this -> fillable = $ attributes -> filter ( function ( $ attribute ) { return $ attribute -> getFillable ( ) ; } ) -> map ( function ( $ attribute ) { return $ attribute -> getName ( ) ; } ) -> toArray ( ) ; }
Initialize fillable by attributes.

@param Collection $attributes
Initialize fillable by attributes .