stekycz\Cronner\DI\CronnerExtension::afterCompile PHP Метод

afterCompile() публичный Метод

public afterCompile ( ClassType $class )
$class Nette\PhpGenerator\ClassType
    public function afterCompile(ClassType $class)
    {
        $builder = $this->getContainerBuilder();
        $init = $class->getMethod('initialize');
        if ($builder->hasDefinition($this->prefix('bar'))) {
            $init->addBody('$this->getByType(?)->addPanel($this->getService(?));', array('Tracy\\Bar', $this->prefix('bar')));
        }
    }