mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
14 lines
204 B
PHP
14 lines
204 B
PHP
<?php declare (strict_types=1);
|
|
|
|
class SomePresenter
|
|
{
|
|
public function createForm()
|
|
{
|
|
$form = new Form;
|
|
|
|
$form->onSuccess[] = [$this, 'someMethod'];
|
|
|
|
return $form;
|
|
}
|
|
}
|