generated from AthennaIO/Template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(templates): use getters in templates
- Loading branch information
Showing
3 changed files
with
13 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@athenna/artisan", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "The Athenna CLI application. Built on top of commander.", | ||
"license": "MIT", | ||
"author": "João Lenon <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,17 @@ | ||
import { ServiceProvider } from '@athenna/ioc' | ||
|
||
export class <%= namePascal %>Provider extends ServiceProvider { | ||
/** | ||
* All the container bindings that should be registered. | ||
*/ | ||
bindings = {} | ||
|
||
/** | ||
* All the container instances that should be registered. | ||
*/ | ||
instances = {} | ||
|
||
/** | ||
* All the container singletons that should be registered. | ||
*/ | ||
singletons = {} | ||
|
||
/** | ||
* Register any application service provider. | ||
* | ||
* @return {void|Promise<void>} | ||
*/ | ||
register() {} | ||
async register() {} | ||
|
||
/** | ||
* Bootstrap any application service provider. | ||
* | ||
* @return {void|Promise<void>} | ||
*/ | ||
boot() {} | ||
async boot() {} | ||
} |