.changes:
An example of using make-commands:
- Added commands for creating classes using the command line
xf-make:entity
- Arguments:
- Class
- Options:
- -f (--finder) create finder class
- -r (--repository) create repository class
xf-make:finder
- Arguments:
- Class
xf-make:repo
(xf-make:repository
)
- Arguments:
- Class
xf-make:job
- Arguments:
- Class
xf-make:command
(xf-make:cli
,xf-make:cli-command
)
- Arguments:
- Class
- Command name
- Added
cli
file for convenience using the command line
Now you can execute the commands in this way:php cli xf-addon:create
insteadphp cmd.php xf-addon:create
php cli xf-make:entity -f -r BS\ACPE:Test
Return
Code:Class BS\ACPE\Entity\Test successfully written along path {xfpath}\src\addons\BS\ACPE\Entity\Test.php Class BS\ACPE\Finder\Test successfully written along path {xfpath}\src\addons\BS\ACPE\Finder\Test.php Class BS\ACPE\Repository\Test successfully written along path {xfpath}\src\addons\BS\ACPE\Repository\Test.php
php cli xf-make:entity BS\ACPE:Test
Return
Code:Class BS\ACPE\Entity\Test successfully written along path {xfpath}\src\addons\BS\ACPE\Entity\Test.php
- Button to add a phrase when editing a template modification and editing a template
- Button to add a CSS template when editing a template
- Color picker in template editor
- Quickly create extensions for classes
- Create extensible class hint for PHPStorm
- Automatic parsing of used classes in an extensible class