hoaproject/Core — pull request #31 by 1e1 (2014-05-12 10:18:58+00:00)
Title: add setRoot()

PR for #30

`setRoot(['application'=>'/path/to/Application','data'=>'/path/to/Data','hoa'=>'/path/to/Hoa')`

reduce:
```php
$hoa = Hoa\Core\Core::getInstance();
$hoa->getParameters()->setParameter('root.application', __DIR__);
$hoa->getParameters()->setParameter('root.data', __DIR__ . DS . 'Data');
$hoa->setProtocol();
`̀``

to:
`̀``php
$hoa = Hoa\Core\Core::getInstance();
$hoa->setRoots([
'application' => __DIR__,
'data' => __DIR__ . DS . 'Data',
]);
```