/** * Static method call handler * @return mixed */ public static function __callStatic($name, $args) { static::boot(); return call_user_func_array(array(Deep::getInstance()->make(static::getAccessor()), $name), $args); }
/** * Constructor * @return void */ public function __construct() { $this->app = Deep::getInstance(); $this->app->bootEE(ee()); ee()->load->library(array('pagination', 'typography')); }