File "ContainerAwareTrait.php"

Full Path: /home/warrior1/public_html/plugins/google-listings-and-ads/src/Internal/ContainerAwareTrait.php
File size: 541 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
declare( strict_types=1 );

namespace Automattic\WooCommerce\GoogleListingsAndAds\Internal;

use Psr\Container\ContainerInterface;

defined( 'ABSPATH' ) || exit;

/**
 * Trait ContainerAwareTrait
 *
 * @package Automattic\WooCommerce\GoogleListingsAndAds\Internal
 */
trait ContainerAwareTrait {

	/** @var ContainerInterface */
	protected $container;

	/**
	 * @param ContainerInterface $container
	 *
	 * @return void
	 */
	public function set_container( ContainerInterface $container ): void {
		$this->container = $container;
	}
}