mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 08:17:22 +01:00
implements decorators pipeline
This commit is contained in:
@ -30,4 +30,9 @@ final class Extendable
|
||||
{
|
||||
$this->extendableClass::extend($name, $extend);
|
||||
}
|
||||
|
||||
public function decorate(string $name, Closure $extend): void
|
||||
{
|
||||
$this->extendableClass::decorate($name, $extend);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user