mirror of
https://github.com/pnx/dotfiles
synced 2026-06-17 19:40:02 +02:00
phpactor: adding more templates
This commit is contained in:
parent
70ce2131d5
commit
7578bf4b26
3 changed files with 40 additions and 0 deletions
26
phpactor/templates/laravel-provider/SourceCode.php.twig
Normal file
26
phpactor/templates/laravel-provider/SourceCode.php.twig
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
namespace {{ prototype.namespace }};
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
{% for class in prototype.classes %}
|
||||
class {{ class.name }} extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Register services.
|
||||
*/
|
||||
public function register(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Bootstrap services.
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
{% endfor %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue