original_string: private function get_route_parts() : array {
  		$to = $this->routes[ $this->__method_name ]['to'];
  		if ( \is_array( $to ) ) {
  			$to_parts = $to;
  		} else {
  			$to_parts = explode( '@', $to );
  		}
  
  		$to_class  = $to_parts[0];
  		$to_method = $to_parts[1];
  
  		$on_error = null;
  		if ( array_key_exists( 'on_error', $this->routes[ $this->__method_name ] ) ) {
  			$on_error = $this->routes[ $this->__method_name ]['on_error'];
  		}
  
  		return [ $to_class, $to_method, $on_error ];
  	}
code: private function get_route_parts() : array {
  		$to = $this->routes[ $this->__method_name ]['to'];
  		if ( \is_array( $to ) ) {
  			$to_parts = $to;
  		} else {
  			$to_parts = explode( '@', $to );
  		}
  
  		$to_class  = $to_parts[0];
  		$to_method = $to_parts[1];
  
  		$on_error = null;
  		if ( array_key_exists( 'on_error', $this->routes[ $this->__method_name ] ) ) {
  			$on_error = $this->routes[ $this->__method_name ]['on_error'];
  		}
  
  		return [ $to_class, $to_method, $on_error ];
  	}
code_tokens: private function get_route_parts ( ) : array { $ to = $ this -> routes [ $ this -> __method_name ] [ 'to' ] ; if ( \ is_array ( $ to ) ) { $ to_parts = $ to ; } else { $ to_parts = explode ( '@' , $ to ) ; } $ to_class = $ to_parts [ 0 ] ; $ to_method = $ to_parts [ 1 ] ; $ on_error = null ; if ( array_key_exists ( 'on_error' , $ this -> routes [ $ this -> __method_name ] ) ) { $ on_error = $ this -> routes [ $ this -> __method_name ] [ 'on_error' ] ; } return [ $ to_class , $ to_method , $ on_error ] ; }
docstring: Get the individual parts of the route, including
  the class and method to route to
  
  @return array
docstring_tokens: Get the individual parts of the route including the class and method to route to