public function expandMiddleware( $middleware ) {
		$classes = [];

		foreach ( $middleware as $item ) {
			$classes = array_merge(
				$classes,
				$this->expandMiddlewareMolecule( $item )
			);
		}

		return $classes;
	}
public function expandMiddleware( $middleware ) {
		$classes = [];

		foreach ( $middleware as $item ) {
			$classes = array_merge(
				$classes,
				$this->expandMiddlewareMolecule( $item )
			);
		}

		return $classes;
	}
public function expandMiddleware ( $ middleware ) { $ classes = [ ] ; foreach ( $ middleware as $ item ) { $ classes = array_merge ( $ classes , $ this -> expandMiddlewareMolecule ( $ item ) ) ; } return $ classes ; }
Expand array of middleware into an array of fully qualified class names.

@param  array<string> $middleware
@return array<array>
Expand array of middleware into an array of fully qualified class names .