setConnectionName() публичный Метод

public setConnectionName ( $connection = null )
 public function setConnectionName($connection)
 {
     if (!array_key_exists($connection, $this->connectionList)) {
         $connection = '';
     }
     \Cookie::queue($this->cookieName(self::COOKIE_CONNECTION_NAME), $connection, 60 * 24 * 365 * 1);
     $this->manager->setConnectionName($connection);
 }