bnomei/kirby-blueprints

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

Summary

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

namespace Bnomei\Blueprints\Attributes;

use Attribute;

#[Attribute(Attribute::TARGET_PROPERTY)]
class Before extends GenericAttribute
{
    /**
     * Optional text that will be shown before the input
     *
     * @param  string|array<string,string>  $before
     */
    public function __construct(
        public string|array $before
    ) {}
}