Collective\Remote\RemoteManager::group PHP Method

group() public method

Get a connection group instance by name.
public group ( string $name ) : Collective\Remote\ConnectionInterface
$name string
return Collective\Remote\ConnectionInterface
    public function group($name)
    {
        return $this->connection($this->app['config']['remote.groups.' . $name]);
    }

Usage Example

 /**
  * Get a connection group instance by name.
  *
  * @param string $name
  * @return \Collective\Remote\ConnectionInterface 
  * @static 
  */
 public static function group($name)
 {
     return \Collective\Remote\RemoteManager::group($name);
 }