@@ -53,19 +53,19 @@ |
||
53 | 53 | protected function configure() |
54 | 54 | { |
55 | 55 | $this |
56 | - ->setName('phpfastcache:del') |
|
57 | - ->setAliases([ 'phpfastcache:delete', 'phpfastcache:rem', 'phpfastcache:remove']) |
|
58 | - ->setDescription('Delete phpfastcache cache value') |
|
59 | - ->addArgument( |
|
56 | + ->setName('phpfastcache:del') |
|
57 | + ->setAliases([ 'phpfastcache:delete', 'phpfastcache:rem', 'phpfastcache:remove']) |
|
58 | + ->setDescription('Delete phpfastcache cache value') |
|
59 | + ->addArgument( |
|
60 | 60 | 'driver', |
61 | 61 | InputArgument::REQUIRED, |
62 | 62 | 'Cache name to clear' |
63 | - ) |
|
64 | - ->addArgument( |
|
63 | + ) |
|
64 | + ->addArgument( |
|
65 | 65 | 'key', |
66 | 66 | InputArgument::REQUIRED, |
67 | 67 | 'Cache key' |
68 | - ); |
|
68 | + ); |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
@@ -53,18 +53,18 @@ |
||
53 | 53 | protected function configure() |
54 | 54 | { |
55 | 55 | $this |
56 | - ->setName('phpfastcache:get') |
|
57 | - ->setDescription('Get phpfastcache cache value') |
|
58 | - ->addArgument( |
|
56 | + ->setName('phpfastcache:get') |
|
57 | + ->setDescription('Get phpfastcache cache value') |
|
58 | + ->addArgument( |
|
59 | 59 | 'driver', |
60 | 60 | InputArgument::REQUIRED, |
61 | 61 | 'Cache name to clear' |
62 | - ) |
|
63 | - ->addArgument( |
|
62 | + ) |
|
63 | + ->addArgument( |
|
64 | 64 | 'key', |
65 | 65 | InputArgument::REQUIRED, |
66 | 66 | 'Cache key' |
67 | - ); |
|
67 | + ); |
|
68 | 68 | } |
69 | 69 | |
70 | 70 | /** |
@@ -53,28 +53,28 @@ |
||
53 | 53 | protected function configure() |
54 | 54 | { |
55 | 55 | $this |
56 | - ->setName('phpfastcache:set') |
|
57 | - ->setDescription('Set phpfastcache cache value') |
|
58 | - ->addArgument( |
|
56 | + ->setName('phpfastcache:set') |
|
57 | + ->setDescription('Set phpfastcache cache value') |
|
58 | + ->addArgument( |
|
59 | 59 | 'driver', |
60 | 60 | InputArgument::REQUIRED, |
61 | 61 | 'Cache name to clear' |
62 | - ) |
|
63 | - ->addArgument( |
|
62 | + ) |
|
63 | + ->addArgument( |
|
64 | 64 | 'key', |
65 | 65 | InputArgument::REQUIRED, |
66 | 66 | 'Cache key' |
67 | - ) |
|
68 | - ->addArgument( |
|
67 | + ) |
|
68 | + ->addArgument( |
|
69 | 69 | 'value', |
70 | 70 | InputArgument::REQUIRED, |
71 | 71 | 'Cache value' |
72 | - ) |
|
73 | - ->addArgument( |
|
72 | + ) |
|
73 | + ->addArgument( |
|
74 | 74 | 'ttl', |
75 | 75 | InputArgument::OPTIONAL, |
76 | 76 | 'Cache ttl (in second)' |
77 | - ); |
|
77 | + ); |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |