19 declare(strict_types=1);
    37         public readonly mixed $aux,
    41             $name = 
new Name($name);
    44         foreach ($dependencies as 
$d) {
    45             $d->addDependant($this);
    66         if (!is_null($this->component)) {
    67             throw new \LogicException(
    68                 "There already is a component here."    76         if (is_null($this->component)) {
    77             throw new \LogicException(
    78                 "There is no component here."    87         $this->dependencies[(string) $in] = $in;
    97         $this->resolves[] = $in;
   102         $this->resolves = [];
 
__construct(protected OutType $type, string $name, public readonly mixed $aux, array $dependencies)
 
A dependency where the component needs something from the world. 
 
A dependency where the component gives something to the world. 
 
setComponent(OfComponent $component)