Skip to content

Commit 1d558f8

Browse files
committed
Add base command
1 parent 36ea5b8 commit 1d558f8

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<?php
2+
defined('BASEPATH') or exit('No direct script access allowed');
3+
/**
4+
* Project codeigniter-framework
5+
* Created by PhpStorm
6+
* User: 713uk13m <dev@nguyenanhung.com>
7+
* Copyright: 713uk13m <dev@nguyenanhung.com>
8+
* Date: 20/03/2023
9+
* Time: 10:50
10+
*/
11+
if (!class_exists('HungNG_CI_Base_Controller_Command')) {
12+
class HungNG_CI_Base_Controller_Command extends HungNG_CI_Base_Controllers
13+
{
14+
/**
15+
* Function flush_opcache
16+
*
17+
* @author : 713uk13m <dev@nguyenanhung.com>
18+
* @copyright: 713uk13m <dev@nguyenanhung.com>
19+
* @time : 20/03/2023 56:22
20+
*/
21+
public function flush_opcache()
22+
{
23+
$this->opcache_flush_reset();
24+
}
25+
26+
/**
27+
* Function clean_file_cache
28+
*
29+
* @author : 713uk13m <dev@nguyenanhung.com>
30+
* @copyright: 713uk13m <dev@nguyenanhung.com>
31+
* @time : 20/03/2023 56:34
32+
*/
33+
public function clean_file_cache()
34+
{
35+
$this->command_clean_cache_file();
36+
}
37+
38+
/**
39+
* Function clean_apc_cache
40+
*
41+
* @author : 713uk13m <dev@nguyenanhung.com>
42+
* @copyright: 713uk13m <dev@nguyenanhung.com>
43+
* @time : 20/03/2023 56:38
44+
*/
45+
public function clean_apc_cache()
46+
{
47+
$this->command_clean_cache_apc();
48+
}
49+
}
50+
}

0 commit comments

Comments
 (0)