private function addHelpersDir(Config $config, callable $recipe = null)
    {
        if (false === $this->runRecipe($config, $recipe)) {
            $directory = realpath(
                dirname($config->getBaseDir()).DIRECTORY_SEPARATOR
                .'Templates'.DIRECTORY_SEPARATOR.'helpers'
            );

            if (false !== $directory) {
                $this->application->getRenderer()->addHelperDir($directory);
            }
        }
    }
private function addHelpersDir(Config $config, callable $recipe = null)
    {
        if (false === $this->runRecipe($config, $recipe)) {
            $directory = realpath(
                dirname($config->getBaseDir()).DIRECTORY_SEPARATOR
                .'Templates'.DIRECTORY_SEPARATOR.'helpers'
            );

            if (false !== $directory) {
                $this->application->getRenderer()->addHelperDir($directory);
            }
        }
    }
private function addHelpersDir ( Config $ config , callable $ recipe = null ) { if ( false === $ this -> runRecipe ( $ config , $ recipe ) ) { $ directory = realpath ( dirname ( $ config -> getBaseDir ( ) ) . DIRECTORY_SEPARATOR . 'Templates' . DIRECTORY_SEPARATOR . 'helpers' ) ; if ( false !== $ directory ) { $ this -> application -> getRenderer ( ) -> addHelperDir ( $ directory ) ; } } }
Adds bundle's helpers directory into application's renderer.

@param Config        $config
@param callable|null $recipe
Adds bundle s helpers directory into application s renderer .