Code Explainers

Code explainers tagged #collections

java
@RestController
@RequestMapping("/api/products")
public class ProductSearchController {
 

Binding collection query params in Spring

rest-api query-parameters dependency-injection
Intermediate 6 steps
php
<?php
 
namespace App\Services;
 

Computing rolling averages in Laravel

rolling-average date-ranges collections
Intermediate 8 steps
php
<?php
 
namespace App\Services;
 

Managing many-to-many tags in Laravel

many-to-many pivot-table collections
Intermediate 9 steps
php
<?php
 
declare(strict_types=1);
 

An immutable typed collection in PHP

immutability value-objects iterators
Intermediate 8 steps
php
<?php
 
namespace App\Http\Requests;
 

Normalizing input in a Laravel FormRequest

validation authorization input-normalization
Intermediate 6 steps
php
<?php
 
namespace App\Notifications;
 

How a queued weekly digest email works in Laravel

notifications queues email
Intermediate 7 steps