- Fully transitioned the backend to the Porto architectural pattern - Improved code organization and maintainability - Fixed minor bugs and inconsistencies
16 lines
273 B
PHP
16 lines
273 B
PHP
<?php
|
|
|
|
namespace App\Ship\Models;
|
|
|
|
interface Scope
|
|
{
|
|
/**
|
|
* Apply the scope to a given Eloquent query builder.
|
|
*
|
|
* @param Builder $builder
|
|
* @param Model $model
|
|
* @return void
|
|
*/
|
|
public function apply(Builder $builder, Model $model);
|
|
}
|