Automattic\WooCommerce\Vendor\League\Container
Container::has()
{@inheritdoc}
Метод класса: Container{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$Container = new Container(); $Container->has( $id ) : bool;
- $id (обязательный)
- -
Код Container::has() Container::has WC 7.3.0
public function has($id) : bool { if ($this->definitions->has($id)) { return true; } if ($this->definitions->hasTag($id)) { return true; } if ($this->providers->provides($id)) { return true; } foreach ($this->delegates as $delegate) { if ($delegate->has($id)) { return true; } } return false; }