original_string: private function get_named_arguments() : array {
  		// name the parameters
  		$named_arguments = [];
  
  		if ( array_key_exists( 'expects', $this->routes[ $this->__method_name ] ) ) {
  			$expects = $this->routes[ $this->__method_name ]['expects'];
  
  			foreach ( $expects as $index => $parameter_name ) {
  				if ( array_key_exists( $index, $this->__arguments ) ) {
  					$named_arguments[ $parameter_name ] = $this->__arguments[ $index ];
  				}
  			}
  		}
  
  		return $named_arguments;
  	}
code: private function get_named_arguments() : array {
  		// name the parameters
  		$named_arguments = [];
  
  		if ( array_key_exists( 'expects', $this->routes[ $this->__method_name ] ) ) {
  			$expects = $this->routes[ $this->__method_name ]['expects'];
  
  			foreach ( $expects as $index => $parameter_name ) {
  				if ( array_key_exists( $index, $this->__arguments ) ) {
  					$named_arguments[ $parameter_name ] = $this->__arguments[ $index ];
  				}
  			}
  		}
  
  		return $named_arguments;
  	}
code_tokens: private function get_named_arguments ( ) : array { // name the parameters $ named_arguments = [ ] ; if ( array_key_exists ( 'expects' , $ this -> routes [ $ this -> __method_name ] ) ) { $ expects = $ this -> routes [ $ this -> __method_name ] [ 'expects' ] ; foreach ( $ expects as $ index => $ parameter_name ) { if ( array_key_exists ( $ index , $ this -> __arguments ) ) { $ named_arguments [ $ parameter_name ] = $ this -> __arguments [ $ index ] ; } } } return $ named_arguments ; }
docstring: Map the arguments passed into the method to the
  expected arguments defined by the route
  
  @return array
docstring_tokens: Map the arguments passed into the method to the expected arguments defined by the route