Mpociot\LaravelTestFactoryHelper\Console\GenerateCommand::createFactory PHP Метод

createFactory() защищенный Метод

protected createFactory ( string $class ) : string
$class string
Результат string
    protected function createFactory($class)
    {
        $reflection = new \ReflectionClass($class);
        $content = $this->view->make('test-factory-helper::factory', ['reflection' => $reflection, 'properties' => $this->properties])->render();
        return $content;
    }