N98\Magento\Command\Developer\Ide\PhpStorm\MetaCommand::getClassIdentifier PHP Метод

getClassIdentifier() защищенный Метод

protected getClassIdentifier ( Symfony\Component\Finder\SplFileInfo $file, string $classPrefix, string $group = '' ) : string
$file Symfony\Component\Finder\SplFileInfo
$classPrefix string
$group string
Результат string
    protected function getClassIdentifier(SplFileInfo $file, $classPrefix, $group = '')
    {
        $path = str_replace('.php', '', $file->getRelativePathname());
        $path = str_replace('\\', '/', $path);
        $parts = explode('/', $path);
        $parts = array_map('lcfirst', $parts);
        if ($path == 'Data' && $group == 'helpers') {
            array_pop($parts);
        }
        return rtrim($classPrefix . '/' . implode('_', $parts), '/');
    }