Feb 22, 2018
The setVar() method is used to pass data from the controller to view template in Phalcon.
Usage:- $this->view->setVar("username", $user->username);
to leave a response.
Never Miss an Articles from us.
What is Phalcon?..
Explain Dependency Injection in Phalcon?..
List basic features provided by Phalcon?..