Code Explainers

Code explainers tagged #fluent-api

php
<?php
 
namespace Database\Seeders;
 

Building blog test data with Laravel factories

seeding factories relationships
Intermediate 9 steps
java
public final class ShippingAddress {
    private final String recipient;
    private final String line1;
    private final String line2;

Building immutable objects with the Builder pattern

builder-pattern immutability validation
Intermediate 7 steps
php
<?php
 
namespace App\Console;
 

How task scheduling works in Laravel

scheduling cron fluent-api
Intermediate 7 steps