public function addHelperDir($dir)
    {
        if (true === file_exists($dir) && true === is_dir($dir)) {
            $this->getApplication()->getAutoloader()->registerNamespace('BackBee\Renderer\Helper', $dir);
        }

        return $this;
    }
public function addHelperDir($dir)
    {
        if (true === file_exists($dir) && true === is_dir($dir)) {
            $this->getApplication()->getAutoloader()->registerNamespace('BackBee\Renderer\Helper', $dir);
        }

        return $this;
    }
public function addHelperDir ( $ dir ) { if ( true === file_exists ( $ dir ) && true === is_dir ( $ dir ) ) { $ this -> getApplication ( ) -> getAutoloader ( ) -> registerNamespace ( 'BackBee\Renderer\Helper' , $ dir ) ; } return $ this ; }
Add new helper directory in the choosen position.

@codeCoverageIgnore

@param string  $new_dir  location of the new directory
@param integer $position position in the array
Add new helper directory in the choosen position .