original_string: protected function addNumber( \Aimeos\MW\View\Iface $view, \Aimeos\MW\Config\Iface $config, $locale )
  	{
  		$pattern = $config->get( 'client/html/common/format/pattern' );
  
  		$helper = new \Aimeos\MW\View\Helper\Number\Locale( $view, $locale, $pattern );
  		$view->addHelper( 'number', $helper );
  
  		return $view;
  	}
code: protected function addNumber( \Aimeos\MW\View\Iface $view, \Aimeos\MW\Config\Iface $config, $locale )
  	{
  		$pattern = $config->get( 'client/html/common/format/pattern' );
  
  		$helper = new \Aimeos\MW\View\Helper\Number\Locale( $view, $locale, $pattern );
  		$view->addHelper( 'number', $helper );
  
  		return $view;
  	}
code_tokens: protected function addNumber ( \ Aimeos \ MW \ View \ Iface $ view , \ Aimeos \ MW \ Config \ Iface $ config , $ locale ) { $ pattern = $ config -> get ( 'client/html/common/format/pattern' ) ; $ helper = new \ Aimeos \ MW \ View \ Helper \ Number \ Locale ( $ view , $ locale , $ pattern ) ; $ view -> addHelper ( 'number' , $ helper ) ; return $ view ; }
docstring: Adds the "number" helper to the view object
  
  @param \Aimeos\MW\View\Iface $view View object
  @param \Aimeos\MW\Config\Iface $config Configuration object
  @param string|null $locale Code of the current language or null for no translation
  @return \Aimeos\MW\View\Iface Modified view object
docstring_tokens: Adds the number helper to the view object