diff --git a/README.md b/README.md index 410aed3..c227fe7 100644 --- a/README.md +++ b/README.md @@ -301,6 +301,8 @@ class MyCustomHook implements ModelHookInterface } $command->setProperty('custom', 'string', true, false, 'My custom property'); + $command->unsetMethod('method'); + $command->setMethod('method', $command->getMethodType($model, '\Some\Class'), ['$param']); } } ```