for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace Phact\Container\Builder;
class Dependency implements DependencyInterface
{
/**
* @var int
*/
private $type;
* @var string
private $name;
* @var mixed
private $value;
public function __construct(
int $type,
string $name,
$value = null
) {
$this->type = $type;
$this->name = $name;
$this->value = $value;
}
* {@inheritDoc}
public function getType(): int
return $this->type;
public function getName(): string
return $this->name;
public function getValue()
return $this->value;