for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
/**
* PHP version 8.0
*
* This source file is subject to the license that is bundled with this package in the file LICENSE.
*/
namespace PhUml\Stages;
use PhUml\Parser\CodebaseDirectory;
use PhUml\Parser\CodeFinder;
use PhUml\Parser\SourceCode;
final class FindCode
{
public function __construct(private CodeFinder $codeFinder, private ProgressDisplay $display)
}
public function __invoke(CodebaseDirectory $directory): SourceCode
$this->display->start();
return $this->codeFinder->find($directory);