PHP Class Jarves\Controller\StaticController
Example:
my_bundle_contact:
path: /contact
defaults: { _controller: jarves.controller.static:showAction }
options: { theme: 'mybundle', layout: 'contact', title: 'Contact' }
It's mandatory to prove theme and layout options.
显示文件
Open project: jarves/jarves
Public Methods
Method Details
__construct()
public method
public __construct ( PageResponseFactory $pageResponseFactory ) |
$pageResponseFactory |
Jarves\PageResponseFactory |
|
showAction()
public method