public function executeOn(Builder $query)
    {
        $this->stack->each(function (CriteriaInterface $criteria) use ($query) {
            $criteria->execute($query);
        });

        return $query;
    }
public function executeOn(Builder $query)
    {
        $this->stack->each(function (CriteriaInterface $criteria) use ($query) {
            $criteria->execute($query);
        });

        return $query;
    }
public function executeOn ( Builder $ query ) { $ this -> stack -> each ( function ( CriteriaInterface $ criteria ) use ( $ query ) { $ criteria -> execute ( $ query ) ; } ) ; return $ query ; }
Execute an criterias from the stack on given query builder.

@param Builder $query

@return Builder
Execute an criterias from the stack on given query builder .