bnomei/kirby-blueprints

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

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Bnomei\Blueprints\Attributes;

use Attribute;

#[Attribute(Attribute::TARGET_PROPERTY)]
class ExtendsField extends GenericAttribute
{
    /**
     * Extends from a given blueprint. like 'fields/my-custom-text'
     */
    public function __construct(
        public string $extends
    ) {}
}