for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Phpactor\ClassFileConverter\Adapter\Composer;
use Phpactor\ClassFileConverter\Domain\ClassName;
use Phpactor\ClassFileConverter\Domain\FilePath;
final class ClassmapNameInflector implements NameInflector
{
public function inflectToRelativePath(string $prefix, ClassName $className, string $mappedPath): FilePath
return FilePath::fromString($mappedPath);
}
public function inflectToClassName(FilePath $filePath, string $pathPrefix, string $classPrefix): ClassName
return ClassName::fromString($classPrefix);