public function setTables()
    {
        foreach ($this->data['tables'] as $alias => $model) {

            // set model => alias (real table name)
            $this->builder->addFrom($model, $alias);

        }

        return null;
    }
public function setTables()
    {
        foreach ($this->data['tables'] as $alias => $model) {

            // set model => alias (real table name)
            $this->builder->addFrom($model, $alias);

        }

        return null;
    }
public function setTables ( ) { foreach ( $ this -> data [ 'tables' ] as $ alias => $ model ) { // set model => alias (real table name) $ this -> builder -> addFrom ( $ model , $ alias ) ; } return null ; }
Setup tables to Builder

@return null
Setup tables to Builder