How to use files that have only php functions in phalcon?
I tried to register in my module with the example available in the phalcon documentation
// Register some files
$ loader-> registerFiles (
[
'functions.php',
]
);
But I did not succeed. The php file is in the library folder.
The project has the following folder structure:
--- Apps
---- / Backend
-------------- / controller
-------------- / views
-------------- / models
-------------- / Module.php
-------------- / library / funcoes.inc.php
--- public
-------- etc......