src/Seed/Seeder.php
private function resolve(string $class): AbstractSeed
    {
        /** @var $instance \Roquie\Database\Seed\AbstractSeed */
        $instance = $this->autowire($class);
        $instance->setDatabase($this->database);
        $instance->setSeeder($this);

        if (! is_null($this->container)) {
            $instance->setContainer($this->container);
        }

        return $instance;
    }
private function resolve(string $class): AbstractSeed
    {
        /** @var $instance \Roquie\Database\Seed\AbstractSeed */
        $instance = $this->autowire($class);
        $instance->setDatabase($this->database);
        $instance->setSeeder($this);

        if (! is_null($this->container)) {
            $instance->setContainer($this->container);
        }

        return $instance;
    }
Resolve loaded Seed class.

@param string $class
@return \Roquie\Database\Seed\AbstractSeed
@throws \Invoker\Exception\InvocationException
@throws \Invoker\Exception\NotCallableException
@throws \Invoker\Exception\NotEnoughParametersException