We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example instead of this:
use Khalyomede\ReorderBeforeAfter\Listing; use App\Models\Product; $items = Product::all()->map(fn (Product $product): Item => new Item($product, $product->order)); $listing = Listing::from($items);
We could have this, which is reducing the redunduncy if the list of objects comes from a previous call:
use Khalyomede\ReorderBeforeAfter\Listing; use App\Models\Product; $listing = Listing::outOf(Product::all(), fn (Product $product): Item => new Item($product, $product->order);
The text was updated successfully, but these errors were encountered:
#9 add ability to create a listing from an array and specifying a cal…
89ddd49
…lback to get the order from the array values
31e52de
…lback to get the order from the array values (#14)
#9 add documentation and changelog changes
f17ce0d
khalyomede
Successfully merging a pull request may close this issue.
For example instead of this:
We could have this, which is reducing the redunduncy if the list of objects comes from a previous call:
The text was updated successfully, but these errors were encountered: