SlotFlow API Documentation

NamedPolicy
in package
implements PolicyInterface

FinalYes

Wrapper that assigns a stable override key to a policy inside a policy bag.

When multiple policies of the same category share the same name, the later declaration replaces the earlier one within that category.

Table of Contents

Interfaces

PolicyInterface
Marker interface for policies that can be declared through a unified bag API.

Properties

$name  : string
$policy  : PolicyInterface

Methods

as()  : self
Wrap one policy with a stable override name.
__construct()  : mixed

Properties

Methods


        
On this page

Search results