public function provider( $provider ) {

		if ( is_string( $provider ) ) {
			$provider = $this->resolveProvider( $provider );
		}

		$this->providers[] = $provider;
	}
public function provider( $provider ) {

		if ( is_string( $provider ) ) {
			$provider = $this->resolveProvider( $provider );
		}

		$this->providers[] = $provider;
	}
public function provider ( $ provider ) { if ( is_string ( $ provider ) ) { $ provider = $ this -> resolveProvider ( $ provider ) ; } $ this -> providers [ ] = $ provider ; }
Adds a service provider.

@since  5.0.0
@access public
@param  string|object  $provider
@return void
Adds a service provider .