src/Pools/Miner.php
public function mergeInto(Miner $Miner, $overrideLimit = true)
    {
        if ($this->isSelect()) {
            $this->mergeSelectInto($Miner);
            $this->mergeFromInto($Miner);
            $this->mergeJoinInto($Miner);
            $this->mergeWhereInto($Miner);
            $this->mergeGroupByInto($Miner);
            $this->mergeHavingInto($Miner);
            $this->mergeOrderByInto($Miner);
            
            if ($overrideLimit) {
                $this->mergeLimitInto($Miner);
            }
        } elseif ($this->isInsert()) {
            $this->mergeInsertInto($Miner);
            $this->mergeSetInto($Miner);
        } elseif ($this->isReplace()) {
            $this->mergeReplaceInto($Miner);
            $this->mergeSetInto($Miner);
        } elseif ($this->isUpdate()) {
            $this->mergeUpdateInto($Miner);
            $this->mergeJoinInto($Miner);
            $this->mergeSetInto($Miner);
            $this->mergeWhereInto($Miner);
            
            // ORDER BY and LIMIT are only applicable when updating a single table.
            if (! $this->join) {
                $this->mergeOrderByInto($Miner);
                
                if ($overrideLimit) {
                    $this->mergeLimitInto($Miner);
                }
            }
        } elseif ($this->isDelete()) {
            $this->mergeDeleteInto($Miner);
            $this->mergeFromInto($Miner);
            $this->mergeJoinInto($Miner);
            $this->mergeWhereInto($Miner);
            
            // ORDER BY and LIMIT are only applicable when deleting from a single
            // table.
            if ($this->isDeleteTableFrom()) {
                $this->mergeOrderByInto($Miner);
                
                if ($overrideLimit) {
                    $this->mergeLimitInto($Miner);
                }
            }
        }
        
        return $Miner;
    }
public function mergeInto(Miner $Miner, $overrideLimit = true)
    {
        if ($this->isSelect()) {
            $this->mergeSelectInto($Miner);
            $this->mergeFromInto($Miner);
            $this->mergeJoinInto($Miner);
            $this->mergeWhereInto($Miner);
            $this->mergeGroupByInto($Miner);
            $this->mergeHavingInto($Miner);
            $this->mergeOrderByInto($Miner);
            
            if ($overrideLimit) {
                $this->mergeLimitInto($Miner);
            }
        } elseif ($this->isInsert()) {
            $this->mergeInsertInto($Miner);
            $this->mergeSetInto($Miner);
        } elseif ($this->isReplace()) {
            $this->mergeReplaceInto($Miner);
            $this->mergeSetInto($Miner);
        } elseif ($this->isUpdate()) {
            $this->mergeUpdateInto($Miner);
            $this->mergeJoinInto($Miner);
            $this->mergeSetInto($Miner);
            $this->mergeWhereInto($Miner);
            
            // ORDER BY and LIMIT are only applicable when updating a single table.
            if (! $this->join) {
                $this->mergeOrderByInto($Miner);
                
                if ($overrideLimit) {
                    $this->mergeLimitInto($Miner);
                }
            }
        } elseif ($this->isDelete()) {
            $this->mergeDeleteInto($Miner);
            $this->mergeFromInto($Miner);
            $this->mergeJoinInto($Miner);
            $this->mergeWhereInto($Miner);
            
            // ORDER BY and LIMIT are only applicable when deleting from a single
            // table.
            if ($this->isDeleteTableFrom()) {
                $this->mergeOrderByInto($Miner);
                
                if ($overrideLimit) {
                    $this->mergeLimitInto($Miner);
                }
            }
        }
        
        return $Miner;
    }
public function mergeInto ( Miner $ Miner , $ overrideLimit = true ) { if ( $ this -> isSelect ( ) ) { $ this -> mergeSelectInto ( $ Miner ) ; $ this -> mergeFromInto ( $ Miner ) ; $ this -> mergeJoinInto ( $ Miner ) ; $ this -> mergeWhereInto ( $ Miner ) ; $ this -> mergeGroupByInto ( $ Miner ) ; $ this -> mergeHavingInto ( $ Miner ) ; $ this -> mergeOrderByInto ( $ Miner ) ; if ( $ overrideLimit ) { $ this -> mergeLimitInto ( $ Miner ) ; } } elseif ( $ this -> isInsert ( ) ) { $ this -> mergeInsertInto ( $ Miner ) ; $ this -> mergeSetInto ( $ Miner ) ; } elseif ( $ this -> isReplace ( ) ) { $ this -> mergeReplaceInto ( $ Miner ) ; $ this -> mergeSetInto ( $ Miner ) ; } elseif ( $ this -> isUpdate ( ) ) { $ this -> mergeUpdateInto ( $ Miner ) ; $ this -> mergeJoinInto ( $ Miner ) ; $ this -> mergeSetInto ( $ Miner ) ; $ this -> mergeWhereInto ( $ Miner ) ; // ORDER BY and LIMIT are only applicable when updating a single table. if ( ! $ this -> join ) { $ this -> mergeOrderByInto ( $ Miner ) ; if ( $ overrideLimit ) { $ this -> mergeLimitInto ( $ Miner ) ; } } } elseif ( $ this -> isDelete ( ) ) { $ this -> mergeDeleteInto ( $ Miner ) ; $ this -> mergeFromInto ( $ Miner ) ; $ this -> mergeJoinInto ( $ Miner ) ; $ this -> mergeWhereInto ( $ Miner ) ; // ORDER BY and LIMIT are only applicable when deleting from a single // table. if ( $ this -> isDeleteTableFrom ( ) ) { $ this -> mergeOrderByInto ( $ Miner ) ; if ( $ overrideLimit ) { $ this -> mergeLimitInto ( $ Miner ) ; } } } return $ Miner ; }
Merge this Miner into the given Miner.

@param Miner $Miner
to merge into
@param bool $overrideLimit
optional override limit, default true
@return Miner
Merge this Miner into the given Miner .