Beispiel #1
0
 /**
  * Generated from @assert ('A1)45@*(&UR)HQ)W.0000(*(HG))') === 0.
  */
 public function testGetInt2()
 {
     $this->assertSame(0, Inspekt::getInt('A1)45@*(&UR)HQ)W.0000(*(HG))'));
 }
Beispiel #2
0
 /**
  * Returns (int) value.
  *
  * @param mixed $key
  * @return int
  *
  * @tag filter
  */
 function getInt($key)
 {
     if (!$this->keyExists($key)) {
         return false;
     }
     return Inspekt::getInt($this->_getValue($key));
 }
Beispiel #3
0
 /**
  * Returns (int) value.
  *
  * @param mixed $key
  * @return int
  * @throws Exception
  * @tag filter
  */
 public function getInt($key)
 {
     return Inspekt::getInt($this->getValue($key));
 }