Пример #1
0
 /**
  * AdminModel constructor.
  *
  * @param AdminController $controller
  */
 public function __construct(AdminController $controller)
 {
     $this->factory = new \Abimo\Factory();
     $this->config = $this->factory->config();
     $this->db = $this->factory->database();
     $this->controller = $controller;
 }