Swift_DependencyContainer::has PHP Method

has() public method

Test if an item is registered in this container with the given name.
See also: register()
public has ( string $itemName ) : boolean
$itemName string
return boolean
    public function has($itemName)
    {
        return array_key_exists($itemName, $this->_store) && isset($this->_store[$itemName]['lookupType']);
    }