original_string: private function prepareAssets()
  	{
  		$lib = $this;
  		$attached_groups = $this->getAttachedGroups();
  		array_walk($lib->attached_groups, function($group_name) use($lib){
  			$groups = $lib->getGroups();
  			$group_contents = $groups[$group_name];
  			array_walk($group_contents, function($value, $key) use($lib, $group_name){
  				switch($key)
  				{
  					case 'css':
  					array_walk($value, function($value, $key) use($lib, $group_name){
  						$lib->registerCss($group_name.'/'.$value,$group_name);
  					});
  					break;
  					case 'js':
  					array_walk($value, function($value, $key) use($lib, $group_name){
  						$lib->registerJs($group_name.'/'.$value,$lib->getOption('jsPosition'),$group_name);
  					});
  					break;
  				}
  			});
  		});
  		return $this;
  	}
code: private function prepareAssets()
  	{
  		$lib = $this;
  		$attached_groups = $this->getAttachedGroups();
  		array_walk($lib->attached_groups, function($group_name) use($lib){
  			$groups = $lib->getGroups();
  			$group_contents = $groups[$group_name];
  			array_walk($group_contents, function($value, $key) use($lib, $group_name){
  				switch($key)
  				{
  					case 'css':
  					array_walk($value, function($value, $key) use($lib, $group_name){
  						$lib->registerCss($group_name.'/'.$value,$group_name);
  					});
  					break;
  					case 'js':
  					array_walk($value, function($value, $key) use($lib, $group_name){
  						$lib->registerJs($group_name.'/'.$value,$lib->getOption('jsPosition'),$group_name);
  					});
  					break;
  				}
  			});
  		});
  		return $this;
  	}
code_tokens: private function prepareAssets ( ) { $ lib = $ this ; $ attached_groups = $ this -> getAttachedGroups ( ) ; array_walk ( $ lib -> attached_groups , function ( $ group_name ) use ( $ lib ) { $ groups = $ lib -> getGroups ( ) ; $ group_contents = $ groups [ $ group_name ] ; array_walk ( $ group_contents , function ( $ value , $ key ) use ( $ lib , $ group_name ) { switch ( $ key ) { case 'css' : array_walk ( $ value , function ( $ value , $ key ) use ( $ lib , $ group_name ) { $ lib -> registerCss ( $ group_name . '/' . $ value , $ group_name ) ; } ) ; break ; case 'js' : array_walk ( $ value , function ( $ value , $ key ) use ( $ lib , $ group_name ) { $ lib -> registerJs ( $ group_name . '/' . $ value , $ lib -> getOption ( 'jsPosition' ) , $ group_name ) ; } ) ; break ; } } ) ; } ) ; return $ this ; }
docstring: preparing auto attached groups before registering any asset files
  @return self object
docstring_tokens: preparing auto attached groups before registering any asset files