/** * ControllerBinding constructor. * * @param $binding * @param MiddlewareCollection $middlewaresCollection * @param null $defaultActionName */ public function __construct($binding, MiddlewareCollection $middlewaresCollection, $defaultActionName = null) { parent::__construct($binding, $middlewaresCollection); $this->defaultActionName = $defaultActionName ? (string) $defaultActionName : null; }
/** * Filter rows where the field/column since date passed * @param string $field * @param string|\DateTime|int $mixed */ public function __construct($field, $operator, $mixed) { parent::__construct($field, $operator, $mixed); }
/** * Creates the new Binding. * * @param array $chartWrappers * @param array $controlWrappers */ public function __construct($controlWrappers, $chartWrappers) { parent::__construct($controlWrappers, $chartWrappers); }
/** * Filter rows where the field/column != value * @param $field string * @param $value string */ public function __construct($field, $value) { parent::__construct($field, '!=', $value); }
/** * Filter rows where the field/column is false * @param $field string */ public function __construct($field) { parent::__construct($field, '=', 0); }