bnomei/kirby-blueprints

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

Summary

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

namespace Bnomei\Blueprints\Attributes;

use Attribute;

#[Attribute(Attribute::TARGET_PROPERTY)]
class Prepend extends GenericAttribute
{
    /**
     * Toggles adding to the top or bottom of the list
     */
    public function __construct(
        public bool $prepend = false
    ) {}
}