@@ -54,35 +54,35 @@ |
||
54 | 54 | protected function configure() |
55 | 55 | { |
56 | 56 | $this |
57 | - ->setName('phpfastcache:set') |
|
58 | - ->setDescription('Set phpfastcache cache value') |
|
59 | - ->addArgument( |
|
57 | + ->setName('phpfastcache:set') |
|
58 | + ->setDescription('Set 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 | - ) |
|
69 | - ->addArgument( |
|
68 | + ) |
|
69 | + ->addArgument( |
|
70 | 70 | 'value', |
71 | 71 | InputArgument::REQUIRED, |
72 | 72 | 'Cache value' |
73 | - ) |
|
74 | - ->addArgument( |
|
73 | + ) |
|
74 | + ->addArgument( |
|
75 | 75 | 'ttl', |
76 | 76 | InputArgument::OPTIONAL, |
77 | 77 | 'Cache ttl (in second)' |
78 | - ) |
|
79 | - ->addOption( |
|
78 | + ) |
|
79 | + ->addOption( |
|
80 | 80 | 'auto-type-cast', |
81 | 81 | 'a', |
82 | 82 | InputOption::VALUE_OPTIONAL, |
83 | 83 | 'Allows to automatically type-cast the value of the cache item.', |
84 | 84 | 1 |
85 | - ) |
|
85 | + ) |
|
86 | 86 | ; |
87 | 87 | } |
88 | 88 |