public function connectAdapter($adaptee)
    {
        $adapter = new $this->adapter($this->config);

        return $adapter
            ->setAdaptee($adaptee)
            ->setModel($this->model);
    }
public function connectAdapter($adaptee)
    {
        $adapter = new $this->adapter($this->config);

        return $adapter
            ->setAdaptee($adaptee)
            ->setModel($this->model);
    }
public function connectAdapter ( $ adaptee ) { $ adapter = new $ this -> adapter ( $ this -> config ) ; return $ adapter -> setAdaptee ( $ adaptee ) -> setModel ( $ this -> model ) ; }
Connect adapter, model and adaptee.

@param string $adaptee

@return \Assely\Contracts\Adapter\AdapterInterface
Connect adapter model and adaptee .