I know its dirty, but I need it. Given my class:
<?php
namespace Ext;
which is in work\Ext directory, so:
<?php
$loader = new \Phalcon\Loader();
$loader->registerNamespaces(array(
'Ext' => 'work\Ext'
));
$loader->register();
but sadly, this namepsace can be in other directories. So I would like to type:
<?php
$loader = new \Phalcon\Loader();
$loader->registerNamespaces(array(
'Ext' => array(
'work\Ext',
'work\Ext\ext2')
));
$loader->register();
which is not possible