bnomei/kirby-blueprints

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

Summary

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

namespace Bnomei\Blueprints\Attributes;

use Attribute;

#[Attribute(Attribute::TARGET_PROPERTY)]
class Alpha extends GenericAttribute
{
    /**
     * Use the alpha option (default: false) to activate alpha transparency support
     */
    public function __construct(
        public bool $alpha = false
    ) {}
}