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