Inpsyde\MultilingualPress\Service\AddOnlyContainer::offsetExists PHP Method

offsetExists() public method

Checks if a value or factory callback with the given name exists.
Since: 3.0.0
public offsetExists ( string $name ) : boolean
$name string The name of a value or factory callback.
return boolean Whether or not a value or factory callback with the given name exists.
    public function offsetExists($name)
    {
        return array_key_exists($name, $this->values) || isset($this->factories[$name]);
    }