protected function get_dependency_array( $handle ) {
		foreach ( $this->dependencies as $type => $dependencies ) {
			if ( array_key_exists( $handle, $dependencies ) ) {
				return [ $type, $dependencies[ $handle ] ];
			}
		}
		// Handle not found, return an empty array.
		return [ '', null ];
	}
protected function get_dependency_array( $handle ) {
		foreach ( $this->dependencies as $type => $dependencies ) {
			if ( array_key_exists( $handle, $dependencies ) ) {
				return [ $type, $dependencies[ $handle ] ];
			}
		}
		// Handle not found, return an empty array.
		return [ '', null ];
	}
protected function get_dependency_array ( $ handle ) { foreach ( $ this -> dependencies as $ type => $ dependencies ) { if ( array_key_exists ( $ handle , $ dependencies ) ) { return [ $ type , $ dependencies [ $ handle ] ] ; } } // Handle not found, return an empty array. return [ '' , null ] ; }
Get the matching dependency for a given handle.

@since 0.2.2

@param string $handle The dependency handle to search for.
@return array Array containing the dependency key as well as the
dependency array itself.
Get the matching dependency for a given handle .