LazyRecord\ConnectionManager::offsetSet PHP Method

offsetSet() public method

ArrayAccess interface.
public offsetSet ( string $name, Connection $value )
$name string
$value Connection
    public function offsetSet($name, $value)
    {
        if (!$value instanceof Connection) {
            throw new InvalidArgumentException('$value is not a Connection object.');
        }
        $this->conns[$name] = $value;
    }