Exemplo n.º 1
0
 public function testIntMinAbove()
 {
     $result = Args::int(20)->min(19);
     $this->assertTrue($result instanceof ArgumentChecker);
 }
Exemplo n.º 2
0
 public function testIntMinAbove()
 {
     Args::int(20)->min(19);
 }
Exemplo n.º 3
0
 /**
  * Sets the y-coordinate of the pixel
  * 
  * @param int $y
  */
 private function setY($y)
 {
     $this->y = Args::int($y)->required()->min(0)->value();
 }