public function handle(Client $client, $index, $alias, $replace = false)
    {
        $client
            ->getIndex($index)
            ->addAlias($alias, $replace)
        ;
    }
public function handle(Client $client, $index, $alias, $replace = false)
    {
        $client
            ->getIndex($index)
            ->addAlias($alias, $replace)
        ;
    }
public function handle ( Client $ client , $ index , $ alias , $ replace = false ) { $ client -> getIndex ( $ index ) -> addAlias ( $ alias , $ replace ) ; }
Handle add alias command

@param Client $client
@param string $index
@param string $alias
@param bool   $replace
Handle add alias command