src/Client/MySQLClient.php
public function createClient()
    {
        $indexConfig = ArrayList::create(Config::config()->get('indices'))
            ->filter(['name' => $this->indexName])->first();

        $this->clientAPI   = new DataList($indexConfig['class']);
        $this->indexConfig = $indexConfig;

        return $this->clientAPI;
    }
public function createClient()
    {
        $indexConfig = ArrayList::create(Config::config()->get('indices'))
            ->filter(['name' => $this->indexName])->first();

        $this->clientAPI   = new DataList($indexConfig['class']);
        $this->indexConfig = $indexConfig;

        return $this->clientAPI;
    }
public function createClient ( ) { $ indexConfig = ArrayList :: create ( Config :: config ( ) -> get ( 'indices' ) ) -> filter ( [ 'name' => $ this -> indexName ] ) -> first ( ) ; $ this -> clientAPI = new DataList ( $ indexConfig [ 'class' ] ) ; $ this -> indexConfig = $ indexConfig ; return $ this -> clientAPI ; }
Instantiates the Client Library API
Instantiates the Client Library API