public function addManager($manager)
    {
        if (is_array($manager)) {
            foreach ($manager as $item) {
                $this->managerList->add($item);
            }

            return $this;
        }

        $this->managerList->add($manager);

        return $this;
    }
public function addManager($manager)
    {
        if (is_array($manager)) {
            foreach ($manager as $item) {
                $this->managerList->add($item);
            }

            return $this;
        }

        $this->managerList->add($manager);

        return $this;
    }
public function addManager ( $ manager ) { if ( is_array ( $ manager ) ) { foreach ( $ manager as $ item ) { $ this -> managerList -> add ( $ item ) ; } return $ this ; } $ this -> managerList -> add ( $ manager ) ; return $ this ; }
Adds an address to a AlphaRPC daemon.

@param string|array $manager

@return Client
@throws \InvalidArgumentException
Adds an address to a AlphaRPC daemon .