code: public function before(
          /*# string */ $position,
          /*# string */ $clause
      ) {
          $pos = $this->getPosition($position);
  
          // if parameters provided
          if (func_num_args() > 2) {
              $clause = $this->dealWithParam($clause, func_get_args());
          }
  
          $this->before[$pos][] = $clause;
          return $this;
      }
docs: {@inheritDoc}