bnomei/kirby-blueprints

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

Summary

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

namespace Bnomei\Blueprints\Attributes;

use Attribute;

#[Attribute(Attribute::TARGET_PROPERTY)]
class MaxDate extends GenericAttribute
{
    /**
     * Latest date, which can be selected/saved (Y-m-d)
     */
    public function __construct(
        public string $max //  (Y-m-d)
    ) {}
}