src/class-container.php
protected function invoke_on_providers( $method ) {
		foreach ( $this->providers as $provider ) {
			if ( method_exists( $provider, $method ) ) {
				$provider->{$method}( $this );
			}
		}
	}
protected function invoke_on_providers( $method ) {
		foreach ( $this->providers as $provider ) {
			if ( method_exists( $provider, $method ) ) {
				$provider->{$method}( $this );
			}
		}
	}
Invoke a method (if it exists) on all registered providers.

@param  string $method Method name.

@return void