src/class-base-provider.php
public function proxy( Container $container, $key ) {
		if ( isset( $this->proxies[ $key ] ) ) {
			return $this->proxies[ $key ];
		}

		$this->proxies[ $key ] = new Proxy( $container, $key );

		return $this->proxies[ $key ];
	}
public function proxy( Container $container, $key ) {
		if ( isset( $this->proxies[ $key ] ) ) {
			return $this->proxies[ $key ];
		}

		$this->proxies[ $key ] = new Proxy( $container, $key );

		return $this->proxies[ $key ];
	}
Get a proxy object for a given container entry.

@param  Container $container Container instance.
@param  string    $key       Container key.

@return Proxy