The doc-type class-string could not be parsed: Unknown type name "class-string" at position 0. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see
which comment annotations we can parse, please refer to our documentation on
supported doc-types.
Loading history...
30
*/
31
public function __construct(string $interface)
32
{
33
$this->interface = $interface;
34
}
35
36
/**
37
* {@inheritdoc}
38
*/
39
public function __toString(): string
40
{
41
return '';
42
}
43
44
/**
45
* {@inheritdoc}
46
*/
47
public function inject(Container $container)
48
{
49
return null;
50
}
51
52
/**
53
* {@inheritdoc}
54
*
55
* @return void
56
*/
57
public function register(array &$container, Bind $bind)
58
{
59
$container[(string) $bind] = $bind->getBound();
60
}
61
62
/**
63
* {@inheritdoc}
64
*/
65
public function setScope($scope)
66
{
67
}
68
69
public function toNull(string $scriptDir): Dependency
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.