Youshido\GraphQL\Type\TypeService::classify PHP 메소드

classify() 보호된 정적인 메소드

protected static classify ( $text )
    protected static function classify($text)
    {
        $text = explode(' ', str_replace(['_', '/', '-', '.'], ' ', $text));
        $textLength = count($text);
        for ($i = 0; $i < $textLength; $i++) {
            $text[$i] = ucfirst($text[$i]);
        }
        $text = ucfirst(implode('', $text));
        return $text;
    }