int count() Count the number of items in the collection.
mixed get(string $key, mixed $default = null) Get an attribute from the
void commands(array|mixed $commands) Register the package's custom Artisan
static bool hasMacro(string $name) Checks if macro is registered
static array getDirectories() Gets all the directories registered
Collection collapse()
static array only(array $array, array|string $keys) Get a subset
AggregateServiceProvider class AggregateServiceProvider extends
static void forget(array $array, array|string $keys) Remove
NamespacedItemResolver class NamespacedItemResolver (
Page 4 of 25