bnomei/kirby-blueprints

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

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Bnomei\Blueprints\Attributes;

use Attribute;

#[Attribute(Attribute::TARGET_PROPERTY)]
class Counter extends GenericAttribute
{
    /**
     * Shows or hides the character counter in the top right corner
     */
    public function __construct(
        public bool $counter = true
    ) {}
}