public function mergeAttributes( $old, $new ) {
		$attributes = [
			'methods' => $this->mergeMethodsAttribute(
				(array) Arr::get( $old, 'methods', [] ),
				(array) Arr::get( $new, 'methods', [] )
			),

			'condition' => $this->mergeConditionAttribute(
				Arr::get( $old, 'condition', null ),
				Arr::get( $new, 'condition', null )
			),

			'middleware' => $this->mergeMiddlewareAttribute(
				(array) Arr::get( $old, 'middleware', [] ),
				(array) Arr::get( $new, 'middleware', [] )
			),

			'namespace' => $this->mergeNamespaceAttribute(
				Arr::get( $old, 'namespace', '' ),
				Arr::get( $new, 'namespace', '' )
			),

			'handler' => $this->mergeHandlerAttribute(
				Arr::get( $old, 'handler', '' ),
				Arr::get( $new, 'handler', '' )
			),

			'query' => $this->mergeQueryAttribute(
				Arr::get( $old, 'query', null ),
				Arr::get( $new, 'query', null )
			),
		];

		return $attributes;
	}
public function mergeAttributes( $old, $new ) {
		$attributes = [
			'methods' => $this->mergeMethodsAttribute(
				(array) Arr::get( $old, 'methods', [] ),
				(array) Arr::get( $new, 'methods', [] )
			),

			'condition' => $this->mergeConditionAttribute(
				Arr::get( $old, 'condition', null ),
				Arr::get( $new, 'condition', null )
			),

			'middleware' => $this->mergeMiddlewareAttribute(
				(array) Arr::get( $old, 'middleware', [] ),
				(array) Arr::get( $new, 'middleware', [] )
			),

			'namespace' => $this->mergeNamespaceAttribute(
				Arr::get( $old, 'namespace', '' ),
				Arr::get( $new, 'namespace', '' )
			),

			'handler' => $this->mergeHandlerAttribute(
				Arr::get( $old, 'handler', '' ),
				Arr::get( $new, 'handler', '' )
			),

			'query' => $this->mergeQueryAttribute(
				Arr::get( $old, 'query', null ),
				Arr::get( $new, 'query', null )
			),
		];

		return $attributes;
	}
public function mergeAttributes ( $ old , $ new ) { $ attributes = [ 'methods' => $ this -> mergeMethodsAttribute ( ( array ) Arr :: get ( $ old , 'methods' , [ ] ) , ( array ) Arr :: get ( $ new , 'methods' , [ ] ) ) , 'condition' => $ this -> mergeConditionAttribute ( Arr :: get ( $ old , 'condition' , null ) , Arr :: get ( $ new , 'condition' , null ) ) , 'middleware' => $ this -> mergeMiddlewareAttribute ( ( array ) Arr :: get ( $ old , 'middleware' , [ ] ) , ( array ) Arr :: get ( $ new , 'middleware' , [ ] ) ) , 'namespace' => $ this -> mergeNamespaceAttribute ( Arr :: get ( $ old , 'namespace' , '' ) , Arr :: get ( $ new , 'namespace' , '' ) ) , 'handler' => $ this -> mergeHandlerAttribute ( Arr :: get ( $ old , 'handler' , '' ) , Arr :: get ( $ new , 'handler' , '' ) ) , 'query' => $ this -> mergeQueryAttribute ( Arr :: get ( $ old , 'query' , null ) , Arr :: get ( $ new , 'query' , null ) ) , ] ; return $ attributes ; }
Merge attributes into route.

@param  array<string, mixed> $old
@param  array<string, mixed> $new
@return array<string, mixed>
Merge attributes into route .