src/Tools/Parser.php
public static function parse($identifier, $format)
    {
        $parseMethod = 'parseFrom' . $format;

        if (method_exists(get_class(), $parseMethod)) {
            return static::$parseMethod($identifier);
        }

        throw new \InvalidArgumentException($format . ' is an unsupported ' .
            'parse format. If applicable, "UPPERCASE_*" and "*_WITH_ACRONYM" ' .
            'formats should be parsed as the corresponding generic format');
    }
public static function parse($identifier, $format)
    {
        $parseMethod = 'parseFrom' . $format;

        if (method_exists(get_class(), $parseMethod)) {
            return static::$parseMethod($identifier);
        }

        throw new \InvalidArgumentException($format . ' is an unsupported ' .
            'parse format. If applicable, "UPPERCASE_*" and "*_WITH_ACRONYM" ' .
            'formats should be parsed as the corresponding generic format');
    }
Inherit Doc from Interfaces\Parser