Moving features folders, enabling the ActionsByEmail rest api endpoints

This commit is contained in:
Gustavo Cruz
2015-02-19 17:54:54 -04:00
parent 382d1a57a9
commit c7a7736edf
75 changed files with 607 additions and 43 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace Features\ViewContainers;
/**
* Description of Container
*
*/
class ViewContainer
{
protected $viewList = array();
public function register($view)
{
$this->viewList[] = $view;
}
public function getView($id)
{
return $this->viewList[$id];
}
public function getAllViews()
{
return $this->viewList;
}
}