protected function injectIntoViews($info)
    {
        if($this->inject)
        {
            // Inject the information globally (to prevent the need of isset)
            foreach($info as $key => $value)
            {
                $this->app['view']->share($this->prefix . $key, $value);
            }
        }
    }
protected function injectIntoViews($info)
    {
        if($this->inject)
        {
            // Inject the information globally (to prevent the need of isset)
            foreach($info as $key => $value)
            {
                $this->app['view']->share($this->prefix . $key, $value);
            }
        }
    }
protected function injectIntoViews ( $ info ) { if ( $ this -> inject ) { // Inject the information globally (to prevent the need of isset) foreach ( $ info as $ key => $ value ) { $ this -> app [ 'view' ] -> share ( $ this -> prefix . $ key , $ value ) ; } } }
Inject the prefixed data into the views

@param $info
@return null
Inject the prefixed data into the views