generator->parse($format); } public static function companyModifier() { return static::randomElement(static::$companyModifier); } public static function companyPrefix() { return static::randomElement(static::$companyPrefix); } public function catchPhrase() { return static::randomElement(static::$catchPhrase); } public function bs() { $result = ''; foreach (static::$bsWords as &$word) { $result .= static::randomElement($word); } return $result; } }