what if it's a static method, those are not accepted by get_class() afaik

```php 
$this->Crud->on('beforeRender', ['MyClass', 'StaticMethod']); 
```