src/View/Helper/HeadScript.php
public function toString($indent = null)
    {
        $helperManager = $this->getView()->getHelperPluginManager();
        if ($helperManager->has('dojo')) {
            $dojo = $helperManager->get('dojo');
            $dojo->initialize();
        }
        return parent::toString($indent);
    }
public function toString($indent = null)
    {
        $helperManager = $this->getView()->getHelperPluginManager();
        if ($helperManager->has('dojo')) {
            $dojo = $helperManager->get('dojo');
            $dojo->initialize();
        }
        return parent::toString($indent);
    }
public function toString ( $ indent = null ) { $ helperManager = $ this -> getView ( ) -> getHelperPluginManager ( ) ; if ( $ helperManager -> has ( 'dojo' ) ) { $ dojo = $ helperManager -> get ( 'dojo' ) ; $ dojo -> initialize ( ) ; } return parent :: toString ( $ indent ) ; }
Find an initialize Dojo helper before rendering head scripts

@see \Zend\View\Helper\HeadScript::toString()
@param string $indent
@return string
Find an initialize Dojo helper before rendering head scripts