/** * * */ public function __construct($name, $args) { // parent::__construct($name, $args); // $this->model = $args['model']; // $this->table = isset($args['table']) ? $args['table'] : 'Module\\Common\\Table\\ModelEntityTable'; // $this->code = isset($args['code']) ? $args['code'] : null; }
/** * * */ public function addEntity($name, $args) { // $this->entities[$name] = Entity::factory($name, $args); }