Esempio n. 1
0
 /**
  * @dataProvider isAlphaProvider()
  */
 public function testIsAlpha($expected, $str, $encoding = null)
 {
     $result = S::isAlpha($str, $encoding);
     $this->assertInternalType('boolean', $result);
     $this->assertEquals($expected, $result);
 }
Esempio n. 2
0
 public function isAlpha($string)
 {
     return Stringy::isAlpha($string);
 }