BASE_MODEL_NAMESPACE
BASE_MODEL_NAMESPACE
Generate Model Command
getApp(): \App\App
gets app object
getRouting(): \App\Site\Routing\Web
gets routing service
getUtils(): \App\Base\Tools\Utils\Globals
gets global utils service
getSiteData(): \App\Base\Tools\Utils\SiteData
gets site data service
getAssets(): \App\Base\Tools\Assets\Manager
gets assets manager
getMailer(): \App\Base\Tools\Utils\Mailer
gets mailer service
getCache(): \App\Base\Tools\Cache\Manager
get cache manager
getHtmlRenderer(): \App\Base\Tools\Utils\HtmlPartsRenderer
gets html renderer service
addClass(string $fullClassName,string $filecontents): \App\Base\Abstracts\Commands\CodeGeneratorCommand
add class
string | $fullClassName | |
string | $filecontents |
execute(\Symfony\Component\Console\Input\InputInterface $input,\Symfony\Component\Console\Output\OutputInterface $output): void
{@inheritdocs}
\Symfony\Component\Console\Input\InputInterface | $input | |
\Symfony\Component\Console\Output\OutputInterface | $output |
askColumnInfo(\Symfony\Component\Console\Input\InputInterface $input,\Symfony\Component\Console\Output\OutputInterface $output): array
ask colum informations
\Symfony\Component\Console\Input\InputInterface | $input | |
\Symfony\Component\Console\Output\OutputInterface | $output |
getMigrationFileContents(string $className,string $modelClassName,integer $migration_order = 100): string
gets migration file contents
string | $className | |
string | $modelClassName | |
integer | $migration_order |