// @codeCoverageIgnoreStart
$class = APP_NAMESPACE . '\Database\Seeds\\' .
$class;
if (!
class_exists($class, false
)) { require_once $path;
} // @codeCoverageIgnoreEnd
} /** @var Seeder $seeder */
$seeder =
new $class($this->config
);
$seeder->
setSilent($this->silent
)->
run();
unset($seeder);
if (is_cli() && !
$this->silent
) { CLI::
write("Seeded: {
$class}", 'green'
);
} } /**
* Sets the location of the directory that seed files can be located in.
*
* @return $this
*/