bnomei/kirby-blueprints

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

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Bnomei\Blueprints\Attributes;

use Attribute;

#[Attribute(Attribute::TARGET_PROPERTY)]
class Inline extends GenericAttribute
{
    /**
     * Enables inline mode, which will not wrap new lines in paragraphs and creates hard breaks instead.
     */
    public function __construct(
        public bool $inline = false
    ) {}
}