mirror of
https://github.com/pnx/dotfiles
synced 2026-06-17 11:30: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
12
phpactor/templates/laravel-model/SourceCode.php.twig
Normal file
12
phpactor/templates/laravel-model/SourceCode.php.twig
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace {{ prototype.namespace }};
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
{% for class in prototype.classes %}
|
||||
class {{ class.name }} extends Model
|
||||
{
|
||||
|
||||
}
|
||||
{% endfor %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue