bnomei/kirby-blueprints

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

Summary

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

namespace Bnomei\Blueprints\Attributes;

use Attribute;

#[Attribute(Attribute::TARGET_PROPERTY)]
class Spellcheck extends GenericAttribute
{
    /**
     * If false, spellcheck will be switched off
     */
    public function __construct(
        public bool $spellcheck = false
    ) {}
}