Zend\View\Helper\Partial::__invoke
Renders a template fragment within a variable scope distinct from the calling View object. It proxies to view's render function
Signature
public function __invoke([string|ModelInterface
$name = null,
[array|object
$values = null]] )
Parameters
$name
— object- Name of view script, or a view model
$values
— object- Variables to populate in the view
Returns
- string|Partial