<?php

declare(strict_types=1);



namespace Symplify\NetteAdapterForSymfonyBundles\Utils;

use Nette\Utils\Strings;

final class Naming
{
    public static function sanitazeClassName(string $name) : string
    {
        $name = Strings::webalize($name, '.');
        $name = strtr($name, ['-' => '_']);

        return $name;
    }
}
