bnomei/kirby-blueprints

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

Summary

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

namespace Bnomei\Blueprints\Attributes;

use Attribute;

#[Attribute(Attribute::TARGET_PROPERTY)]
class When extends GenericAttribute
{
    /**
     * Conditions when the field will be shown
     */
    public function __construct(
        public mixed $when
    ) {}
}