Maslosoft Staple API
Class Staple
- Maslosoft\Staple\Staple implements Maslosoft\Staple\Interfaces\RequestAwareInterface uses Maslosoft\EmbeDi\Traits\FlyTrait (not available)
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
string[]
|
|
public
string
|
#
handle(
Handle request. This is entry point for staple. |
Magic methods summary
public
|
Constants summary
string |
DefaultInstanceId
|
#
'.'
|
string |
BootstrapName
|
#
'_bootstrap.php'
|
string |
ContentPath
|
#
'_content'
|
string |
LayoutPath
|
#
'_layout'
|
Properties summary
public
mixed[]
|
$renderers
Renderers configuration. Keys are file extensions, values are renderers class name or configuration supported by EmbeDi. |
#
[
'php' => PhpRenderer::class,
'mkd.php' => PhpMdRenderer::class,
'md.php' => PhpMdRenderer::class,
'mkd' => MdRenderer::class,
'md' => MdRenderer::class,
'html' => HtmlRenderer::class,
'thumb.jpg' => ThumbRenderer::class,
'thumb.gif' => ThumbRenderer::class,
'thumb.png' => ThumbRenderer::class,
'jpg' => PassThroughRenderer::class,
'gif' => PassThroughRenderer::class,
'png' => PassThroughRenderer::class,
'svg' => PassThroughRenderer::class,
'pdf' => PassThroughRenderer::class,
]
|
public
array
|
$preProcessors
|
#
[
DataJsonExtractor::class,
CascadingDataJsonExtractor::class,
ViewJsonExtractor::class,
TagExtractor::class
]
|
public
array
|
$postProcessors
|
#
[
TemplateApplier::class
]
|
API documentation generated by ApiGen