Basically what I'm trying to do is the following
use \Phalcon\Mvc\Micro\Collection as MicroCollection;
$app = new \Phalcon\Mvc\Micro();
$collection = new MicroCollection();
$collection->setHandler(new BrandsController());
$collection->setPrefix('api/brands');
$collection->get('','actionIndex');
$collection->post('/search','actionSearch');
$collection->get('/{id:[0-9]+}','resourceGet');
$collection->put('/{id:[0-9]+}','resourcePut');
$collection->delete('/{id:[0-9]+}','resourceDelete');
$app->mount($collection);
No route is matched.