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 ];
	}