WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Платформа для конвертации и монетизации трафика
класс не описан

Automattic\WooCommerce\Vendor\League\Container

ContainerAwareInterface{} WC 1.0

Хуков нет.

Возвращает

Null. Ничего.

Использование

$ContainerAwareInterface = new ContainerAwareInterface();
// use class methods

Методы

  1. getContainer()
  2. getLeagueContainer()
  3. setContainer(ContainerInterface $container)
  4. setLeagueContainer(Container $container)

Код ContainerAwareInterface{} WC 5.0.0

<?php
interface ContainerAwareInterface
{
    /**
     * Set a container
     *
     * @param ContainerInterface $container
     *
     * @return self
     */
    public function setContainer(ContainerInterface $container) : self;

    /**
     * Get the container
     *
     * @return ContainerInterface
     */
    public function getContainer() : ContainerInterface;

    /**
     * Set a container. This will be removed in favour of setContainer receiving Container in next major release.
     *
     * @param Container $container
     *
     * @return self
     */
    public function setLeagueContainer(Container $container) : self;

    /**
     * Get the container. This will be removed in favour of getContainer returning Container in next major release.
     *
     * @return Container
     */
    public function getLeagueContainer() : Container;
}