Exemplo n.º 1
0
 /**
  * Constructor.
  * 
  * @param integer $lowerBound
  * @param mixed $upperBound
  * 
  * @since 0.4
  */
 public function __construct($lowerBound, $upperBound = false)
 {
     parent::__construct();
     $this->lowerBound = $lowerBound;
     $this->upperBound = $upperBound === false ? $lowerBound : $upperBound;
 }
Exemplo n.º 2
0
 /**
  * Constructor.
  * 
  * @since 0.4
  */
 public function __construct($careAboutCapitalization = false)
 {
     parent::__construct();
     $this->careAboutCapitalization = $careAboutCapitalization;
 }
Exemplo n.º 3
0
 /**
  * Constructor.
  * 
  * @param integer $lowerBound False for no lower bound (since 0.4.8).
  * @param mixed $upperBound False for no lower bound (since 0.4.8).
  * 
  * @since 0.4
  */
 public function __construct($lowerBound, $upperBound = null)
 {
     parent::__construct();
     $this->lowerBound = $lowerBound;
     $this->upperBound = is_null($upperBound) ? $lowerBound : $upperBound;
 }