public function into($name) { if (is_string($name) || is_array($name)) { return $this->connection($name); } else { return $this->connection(func_get_args()); } }
/** * Get a remote connection instance. * * @param string|array|mixed $name * @return \Collective\Remote\ConnectionInterface * @static */ public static function into($name) { return \Collective\Remote\RemoteManager::into($name); }