public static function fill($seeder)
    {
        $data = [];
        //
        if ($seeder->count <= 0) {
            foreach ($seeder->data() as $value) {
                // Collection::push($data, $value);
                array_push($data, $value);
            }
        } else {
            for ($i = 0; $i < $seeder->count; $i++) {
                // Collection::push($data, $seeder->data());
                array_push($data, $seeder->data());
            }
        }
        //
        return $data;
    }
public static function fill($seeder)
    {
        $data = [];
        //
        if ($seeder->count <= 0) {
            foreach ($seeder->data() as $value) {
                // Collection::push($data, $value);
                array_push($data, $value);
            }
        } else {
            for ($i = 0; $i < $seeder->count; $i++) {
                // Collection::push($data, $seeder->data());
                array_push($data, $seeder->data());
            }
        }
        //
        return $data;
    }
public static function fill ( $ seeder ) { $ data = [ ] ; // if ( $ seeder -> count <= 0 ) { foreach ( $ seeder -> data ( ) as $ value ) { // Collection::push($data, $value); array_push ( $ data , $ value ) ; } } else { for ( $ i = 0 ; $ i < $ seeder -> count ; $ i ++ ) { // Collection::push($data, $seeder->data()); array_push ( $ data , $ seeder -> data ( ) ) ; } } // return $ data ; }
Fill data.
Fill data .