-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding plates and latte support to skeleton module
- Loading branch information
Showing
3 changed files
with
15 additions
and
0 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
<p>Welcome to your new latte template powered module: [MODULE_NAME]</p> |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
<p>Welcome to your plates powered module: [MODULE_NAME]</p> |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
namespace [MODULE_NAME]\Controller; | ||
|
||
use [MODULE_NAME]\Controller\Shared as SharedController; | ||
use Psr\Http\Message\RequestInterface; | ||
|
||
class Index extends SharedController | ||
{ | ||
public function __invoke(RequestInterface $request) | ||
{ | ||
return $this->render('[MODULE_NAME]:index:index.html.[TPL_ENGINE_EXT]'); | ||
} | ||
} |