for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace DependencyAnalyzer\DependencyGraph;
use DependencyAnalyzer\DependencyGraph\ExtraPhpDocTagResolver\DepsInternal;
use DependencyAnalyzer\DependencyGraphBuilder\ExtraPhpDocTagResolver;
use Fhaculty\Graph\Vertex;
class ClassLike
{
/**
* @var Vertex
*/
private $vertex;
public function __construct(Vertex $vertex)
$this->vertex = $vertex;
}
public function getVertex(): Vertex
return $this->vertex;
public function getName(): string
return $this->vertex->getId();
* @return DepsInternal[]
public function getDepsInternalTag(): array
return $this->vertex->getAttribute(ExtraPhpDocTagResolver::DEPS_INTERNAL);
return $this->vertex->ge...esolver::DEPS_INTERNAL)
null
array
public function __toString(): string
return $this->getName();