$this transform(callable $callback) Transform each item in the collection
Collection only(mixed $keys)
static mixed __callStatic(string $method, array $parameters) Handle
mixed pop() Get and remove the last item from the collection.
static Factory construct(Generator $faker,
void define(string $class, callable $attributes, string $name = 'default')
void forceDelete() Force a hard delete on a soft deleted model.
static void setEventDispatcher(Dispatcher
array toArray() Get the collection of items as a plain array.
static void created(Closure|string $callback, int $priority)
Page 28 of 39