Nextras\Forms\Bridges\NetteDI\FormsExtension::afterCompile PHP Method

afterCompile() public method

public afterCompile ( ClassType $class )
$class Nette\PhpGenerator\ClassType
    public function afterCompile(ClassType $class)
    {
        $init = $class->getMethods()['initialize'];
        $init->addBody(__CLASS__ . '::registerControls();');
    }