original_string: protected function __overloadMethods($method, $args)
  	{
  		$_method = strtolower($method);
  
  		if (in_array($_method, ['prefix', 'suffix'])) {
  			return call_user_func_array(array($this, 'affix'), array_merge([$_method], $args));
  		}
  
  		if ($_method == 'length') {
  			return call_user_func_array(array($this, 'length'), $args);
  		}
  
  		throw new BadMethodCallException(sprintf("Call to unknown method %s::%s()", get_called_class(), $method));
  	}
code: protected function __overloadMethods($method, $args)
  	{
  		$_method = strtolower($method);
  
  		if (in_array($_method, ['prefix', 'suffix'])) {
  			return call_user_func_array(array($this, 'affix'), array_merge([$_method], $args));
  		}
  
  		if ($_method == 'length') {
  			return call_user_func_array(array($this, 'length'), $args);
  		}
  
  		throw new BadMethodCallException(sprintf("Call to unknown method %s::%s()", get_called_class(), $method));
  	}
code_tokens: protected function __overloadMethods ( $ method , $ args ) { $ _method = strtolower ( $ method ) ; if ( in_array ( $ _method , [ 'prefix' , 'suffix' ] ) ) { return call_user_func_array ( array ( $ this , 'affix' ) , array_merge ( [ $ _method ] , $ args ) ) ; } if ( $ _method == 'length' ) { return call_user_func_array ( array ( $ this , 'length' ) , $ args ) ; } throw new BadMethodCallException ( sprintf ( "Call to unknown method %s::%s()" , get_called_class ( ) , $ method ) ) ; }
docstring: Overload helper for internal method calls.
  
  @param string $method
  @param array $args
  @return $this
  
  @throws \BadMethodCallException
docstring_tokens: Overload helper for internal method calls .