Property | Type | Description | |
---|---|---|---|
$slug | string | E.g. "Feature.New.VersionA" | |
$strategy | callable | The strategy to be executed. |
Method | Description | |
---|---|---|
__construct ( string $slug, callable $strategy ) | Zumba\Swivel\Behavior. | |
execute ( array $args = [] ) : mixed | Execute the behavior's callable and return the result. | |
getSlug ( ) : string | Get the behavior's slug. |
public __construct ( string $slug, callable $strategy ) | ||
$slug | string | |
$strategy | callable |
protected callable $strategy | ||
return | callable |