C5-8.4* Class 'Concrete\Package\MyPackage\Src\MyPackage\Utilities\Installer' not found
Permalink
Can't figure out what might be the problem.
My package controller has this:
and the Installer class in my_package\src\MyPackage\Utilities\Installer.php:
Why can't it find the Installer class? I've checked all file name a hundred times, can't find what's wrong.
My package controller has this:
namespace Concrete\Package\MyPackage; use Concrete\Package\MyPackage\Src\MyPackage\Utilities\Installer; class Controller extends Package { public function install() { $pkg = parent::install(); $this->installMyPackage(); } public function installMyPackage() { $pkg = Package::getByHandle('my_package'); Installer::installSinglePages($pkg); } ...
and the Installer class in my_package\src\MyPackage\Utilities\Installer.php:
Why can't it find the Installer class? I've checked all file name a hundred times, can't find what's wrong.
https://documentation.concrete5.org/developers/packages/adding-custo...