__toString() 공개 메소드

Retrieves the string representation of this composite expression.
public __toString ( ) : string
리턴 string
 /**
  * Retrieves the string representation of this composite expression.
  *
  * @return string
  */
 public function __toString()
 {
     if ($this->count() === 0) {
         return '';
     }
     return parent::__toString();
 }
예제 #2
0
파일: Filter.php 프로젝트: bolt/bolt
 /**
  * Gets the compiled expression as a string. This will look
  * something like `(alias.key = :placeholder)`.
  *
  * @return string
  */
 public function getExpression()
 {
     return $this->expression->__toString();
 }