This documentation describes unreleased changes on the main branch.

#[ProvidesContext]

Attribute on parameters and properties.

use Saij\WpAppFramework\Block\ProvidesContext;

Marks an attribute of a block attribute class whose value the block passes to all its inner blocks, nested ones included. A block reads it with a render() parameter marked #[Context(Block::class, 'attribute')].