mirror of
https://github.com/silverstripe/silverstripe-restfulserver
synced 2024-10-22 12:05:58 +00:00
DOC Update extension hook examples to be protected
This commit is contained in:
parent
668d0ce7f9
commit
5ad91c82b4
@ -23,7 +23,7 @@ class RestfulServerTestExceptionThrown extends DataObject implements TestOnly
|
||||
'Title' => 'Text',
|
||||
);
|
||||
|
||||
public function onBeforeWrite()
|
||||
protected function onBeforeWrite()
|
||||
{
|
||||
parent::onBeforeWrite();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user