bnomei/kirby-blueprints

View on GitHub
classes/Blueprints/Attributes/Blueprint.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace Bnomei\Blueprints\Attributes;

use Attribute;

#[Attribute(Attribute::TARGET_METHOD)]
class Blueprint
{
    /**
     * Flag method to be parsed as returning a blueprint definition for the model the method belongs to
     */
    public function __construct(public ?int $cache = null, public ?bool $defer = null) {}
}