I get following error when loading builtin PharData PHP class in Cakephp3 Controller
Error: Class 'App\Controller\PharData' not found
I call PharData like this :
$a = new PharData($tar_achive);
(PharData class works when using it outside of Cakephp3 with simple php script)
How I can tell cakephp3 to use builtin PHP Class ?
Try to use class with slash which will inform that it is built in PHP class
$a = new \PharData($tar_achive);