bnomei/kirby-blueprints

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

Summary

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

namespace Bnomei\Blueprints\Attributes;

use Attribute;

#[Attribute(Attribute::TARGET_PROPERTY)]
class Time extends GenericAttribute
{
    /**
     * Pass true or an array of time field options to show the time selector
     */
    public function __construct(
        public bool $time = false
    ) {}
}