프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$slug | string | E.g. "Feature.New.VersionA" | |
$strategy | callable | The strategy to be executed. |
메소드 | 설명 | |
---|---|---|
__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 |