myTitle

3 years ago

mikeerickson

myDesc

Code

// $rules = ["name" => "required", "email" => "required"];
// $data = ["name"=>"Mike"];

// $validator = Validator::make($data, $rules);

// $validator->fails();

// $validator->errors()->get("*");

// $string = "name,email,created_at, published_at";
// $str_arr = preg_split ("/\s?[, ]\s?/", $string);  
// print_r($str_arr);


// $ids = factory(App\Models\Vendor::class,2)->make()->toArray();

$users = App\Models\Vendor::all('contact_fname as first name','contact_lname as last name','contact_email as email')
  ->sortBy('contact_lname');

var_dump($users);

// $users = User::all('id')->toArray();

// Test::with('user')->get();

// User::with('tests')->find(1);

// $user = DB::table('users')
//   ->join('tests', 'users.id', '=', 'tests.user_id')
//   ->select('users.*','tests.name as tests_name','tests.email as tests_email','tests.test_data')
//   ->where('users.id',1)
//   ->get();

// factory(\App\Models\Test::class)->make();

// $test = factory(\App\Models\Test::class)->make();

$test = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15];


$result = array_chunk($test,7);

dump($result);

// $models = App\User::where('id',20)->get();
// // var_dump($models->count());
// // var_dump($models);

// foreach ($models as $model) {
//   // var_dump($model);
//             $model->update([
//                 "is_admin" => 0,
//             ]);
//         }

$user = App\User::where('id',20)->first();
var_dump($user->is_admin);
var_dump($user->name);

// $users = App\User::orderBy('name')->get()->pluck('name', 'id');

// $ts = App\Models\Cache::all();

Output

array:3 [
  0 => array:7 [
    0 => 1
    1 => 2
    2 => 3
    3 => 4
    4 => 5
    5 => 6
    6 => 7
  ]
  1 => array:7 [
    0 => 8
    1 => 9
    2 => 10
    3 => 11
    4 => 12
    5 => 13
    6 => 14
  ]
  2 => array:1 [
    0 => 15
  ]
]
phar:///Applications/Tinkerwell.app/Contents/Resources/tinkerwell/tinker.phar/index.php(109) : eval()'d code:2:
class Illuminate\Database\Eloquent\Collection#2367 (1) {
  protected $items =>
  array(25) {
    [0] =>
    class App\Models\Vendor#2329 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [13] =>
    class App\Models\Vendor#2316 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [23] =>
    class App\Models\Vendor#2306 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [22] =>
    class App\Models\Vendor#2307 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [21] =>
    class App\Models\Vendor#2308 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [20] =>
    class App\Models\Vendor#2309 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [19] =>
    class App\Models\Vendor#2310 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [18] =>
    class App\Models\Vendor#2311 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [17] =>
    class App\Models\Vendor#2312 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [16] =>
    class App\Models\Vendor#2313 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [15] =>
    class App\Models\Vendor#2314 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [14] =>
    class App\Models\Vendor#2315 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [12] =>
    class App\Models\Vendor#2317 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [1] =>
    class App\Models\Vendor#2328 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [11] =>
    class App\Models\Vendor#2318 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [10] =>
    class App\Models\Vendor#2319 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [9] =>
    class App\Models\Vendor#2320 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [8] =>
    class App\Models\Vendor#2321 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [7] =>
    class App\Models\Vendor#2322 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [6] =>
    class App\Models\Vendor#2323 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [5] =>
    class App\Models\Vendor#2324 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [4] =>
    class App\Models\Vendor#2325 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [3] =>
    class App\Models\Vendor#2326 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [2] =>
    class App\Models\Vendor#2327 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
    [24] =>
    class App\Models\Vendor#2305 (28) {
      protected $tablename =>
      string(7) "vendors"
      protected $guarded =>
      array(0) {
        ...
      }
      protected $connection =>
      string(5) "mysql"
      protected $table =>
      string(7) "vendors"
      protected $primaryKey =>
      string(2) "id"
      protected $keyType =>
      string(3) "int"
      public $incrementing =>
      bool(true)
      protected $with =>
      array(0) {
        ...
      }
      protected $withCount =>
      array(0) {
        ...
      }
      protected $perPage =>
      int(15)
      public $exists =>
      bool(true)
      public $wasRecentlyCreated =>
      bool(false)
      protected $attributes =>
      array(3) {
        ...
      }
      protected $original =>
      array(3) {
        ...
      }
      protected $changes =>
      array(0) {
        ...
      }
      protected $casts =>
      array(0) {
        ...
      }
      protected $classCastCache =>
      array(0) {
        ...
      }
      protected $dates =>
      array(0) {
        ...
      }
      protected $dateFormat =>
      NULL
      protected $appends =>
      array(0) {
        ...
      }
      protected $dispatchesEvents =>
      array(0) {
        ...
      }
      protected $observables =>
      array(0) {
        ...
      }
      protected $relations =>
      array(0) {
        ...
      }
      protected $touches =>
      array(0) {
        ...
      }
      public $timestamps =>
      bool(true)
      protected $hidden =>
      array(0) {
        ...
      }
      protected $visible =>
      array(0) {
        ...
      }
      protected $fillable =>
      array(0) {
        ...
      }
    }
  }
}
phar:///Applications/Tinkerwell.app/Contents/Resources/tinkerwell/tinker.phar/index.php(109) : eval()'d code:7:
int(1)
phar:///Applications/Tinkerwell.app/Contents/Resources/tinkerwell/tinker.phar/index.php(109) : eval()'d code:8:
string(10) "Colten Von"
=> null
HELO: Local email testing for your desktop!