Added a getGeneratorList

This commit is contained in:
Alejandro Liu 2015-04-27 01:18:04 +02:00
parent 5942cafa53
commit bdf069ebe1

View File

@ -42,6 +42,13 @@ abstract class Generator{
return false; return false;
} }
/**
* @return string[]
*/
public static function getGeneratorList(){
return array_keys(Generator::$list);
}
/** /**
* @param $name * @param $name
* *