private function createStandardTypes(): void
    {
        foreach ($this->getStandardTypes() as $type) {
            /** @var Definition|mixed $instance */
            $instance = new $type($this);

            if ($instance instanceof TypeDefinition) {
                $this->types[$instance->getName()] = $instance;
            } else {
                $this->definitions[] = $instance;
            }
        }
    }
private function createStandardTypes(): void
    {
        foreach ($this->getStandardTypes() as $type) {
            /** @var Definition|mixed $instance */
            $instance = new $type($this);

            if ($instance instanceof TypeDefinition) {
                $this->types[$instance->getName()] = $instance;
            } else {
                $this->definitions[] = $instance;
            }
        }
    }
private function createStandardTypes ( ) : void { foreach ( $ this -> getStandardTypes ( ) as $ type ) { /** @var Definition|mixed $instance */ $ instance = new $ type ( $ this ) ; if ( $ instance instanceof TypeDefinition ) { $ this -> types [ $ instance -> getName ( ) ] = $ instance ; } else { $ this -> definitions [ ] = $ instance ; } } }
Creation and registration of types.

@return void
Creation and registration of types .