getDigits() public method

Returns only the digits in value. This differs from getInt().
public getDigits ( mixed $key ) : mixed
$key mixed
return mixed
Beispiel #1
0
 /**
  */
 public function testGetDigits()
 {
     /**
      * $inputarray['x']['woot'] = array(
      *     'booyah' => 'meet at the bar at 7:30 pm',
      */
     $this->assertSame('730', $this->cage->getDigits('x/woot/booyah'));
 }