first commit

This commit is contained in:
Ariyutta
2026-08-07 10:47:09 +07:00
commit 1c094fbe7f
11630 changed files with 1580900 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
namespace Laravel\Roster;
use Illuminate\Support\Collection;
/**
* @extends Collection<int, Package>
*/
class PackageCollection extends Collection
{
public function dev(): static
{
return $this->filter(fn (Package $package) => $package->isDev());
}
public function production(): static
{
return $this->filter(fn (Package $package) => ! $package->isDev());
}
}