public function middleware( $middleware ) {
		$middleware = array_merge(
			(array) $this->getAttribute( 'middleware', [] ),
			(array) $middleware
		);

		return $this->attribute( 'middleware', $middleware );
	}
public function middleware( $middleware ) {
		$middleware = array_merge(
			(array) $this->getAttribute( 'middleware', [] ),
			(array) $middleware
		);

		return $this->attribute( 'middleware', $middleware );
	}
public function middleware ( $ middleware ) { $ middleware = array_merge ( ( array ) $ this -> getAttribute ( 'middleware' , [ ] ) , ( array ) $ middleware ) ; return $ this -> attribute ( 'middleware' , $ middleware ) ; }
Set the middleware attribute.

@param  string|array<string> $middleware
@return static               $this
Set the middleware attribute .