Skip to content

Commit a012833

Browse files
committed
wip
1 parent 538d56f commit a012833

1 file changed

Lines changed: 54 additions & 0 deletions

File tree

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<?php namespace CodeIgniter\Commands\Cache;
2+
3+
use CodeIgniter\CLI\BaseCommand;
4+
use CodeIgniter\CLI\CLI;
5+
6+
class ClearCache extends BaseCommand
7+
{
8+
/**
9+
* Command grouping.
10+
*
11+
* @var string
12+
*/
13+
protected $group = 'Cache';
14+
15+
/**
16+
* The Command's name
17+
*
18+
* @var string
19+
*/
20+
protected $name = 'cache:clear';
21+
22+
/**
23+
* the Command's short description
24+
*
25+
* @var string
26+
*/
27+
protected $description = 'Clears the current system caches.';
28+
29+
/**
30+
* the Command's usage
31+
*
32+
* @var string
33+
*/
34+
protected $usage = 'cache:clear [driver]';
35+
36+
/**
37+
* the Command's Arguments
38+
*
39+
* @var array
40+
*/
41+
protected $arguments = [
42+
'driver' => 'The cache driver to use',
43+
];
44+
45+
/**
46+
* Creates a new migration file with the current timestamp.
47+
*
48+
* @param array $params
49+
*/
50+
public function run(array $params = [])
51+
{
52+
dd($params);
53+
}
54+
}

0 commit comments

Comments
 (0)