cesarcorreia/executable

Executable trait for action pattern projects

v1.0.2 2025-07-06 10:55 UTC

This package is auto-updated.

Last update: 2025-07-06 10:55:23 UTC


README

Example usage:

<?php

use CesarCorreia\Contracts\ShouldExecute;
use CesarCorreia\Traits\Executable;

class Example implements ShouldExecute
{
    use Executable;

    public function __construct()
    {
    }

    public function handle(): self
    {
        return $this;
    }
}