Call to undefined method Phalcon\Loader::__construct()

from 2.0.13 Phalcon upgrade to 3.0.1 Phalcon.

Error´╝Ü

Call to undefined method Phalcon\Loader::__construct()

Code:

var loader; let loader = new \Phalcon\Loader();

in the zephir.

as I've read __construct() method have been removed in many class (if not all) in v3:

"changelog v3.0.0: Removed __construct from all interfaces #11410"



2.6k

Not Exists __construct ,how can I " new \Phalcon\Loader()" in zephir.