class EnglishVowels extends VowelsAbstractFactory
Helper Vowel class, determines if the character at a given index is a vowel
Methods
static VowelAbstractFactory |
factory(string $language = 'English')
Return the correct language vowel checker |
from VowelsAbstractFactory |
boolean |
isVowel(string $word, int $index)
Returns true if the letter at the given index is a vowel, works with y |
Details
in VowelsAbstractFactory at line 21
static public VowelAbstractFactory
factory(string $language = 'English')
Return the correct language vowel checker
at line 16
public boolean
isVowel(string $word, int $index)
Returns true if the letter at the given index is a vowel, works with y