Hi all, I want to use the library HTMLPurifier. And I use command to create project default: phalcon create-project testabc I use the code for load HTMLPurifier :
$loader = new \Phalcon\Loader(); $loader->registerPrefixes([ 'HTMLPurifier' => LIBRARY_PATH.'/HTMLPurifier' ]); $loader->register();
But it error:
Fatal error: Call to undefined method Phalcon\Loader::registerPrefixes()
Please help me declared using HTMLPurifier.