select(['id', 'name']) ->get(); foreach ($paths as $path) { self::push($path->id, $path->name); } } }