Zend Framework 3: $this->render() and $this->partial()

I have found very good explanation what is the difference between

$this->partial('script.phtml', ['article' => 'value'])

and

$this->render('script.phtml')

and it is still valid for Zend Framework 3, here it is

Leave a Reply

Your email address will not be published. Required fields are marked *