__construct() public méthode

Creates the expression.
public __construct ( string $methodName, array $arguments, Webmozart\Expression\Expression $expr )
$methodName string The name of the method to call.
$arguments array The arguments to pass to the method.
$expr Webmozart\Expression\Expression The expression to evaluate for the result.
 public function __construct()
 {
     parent::__construct('getBookings', array(), Expr::count(Expr::greaterThan(0)));
 }
Exemple #2
0
 public function __construct()
 {
     parent::__construct('isPremium', array(), Expr::same(true));
 }