New Built-In Tasks for Symfony v1 and v2.

This commit is contained in:
Andrés Montañez
2012-03-27 20:13:49 -03:00
parent 3f0efc1a42
commit b252555655
5 changed files with 88 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
class Mage_Task_BuiltIn_Symfony2_CacheClear
extends Mage_Task_TaskAbstract
{
public function getName()
{
return 'Symfony v2 - Cache Clear [built-in]';
}
public function run()
{
$command = 'app/console cache:clear';
$result = $this->_runLocalCommand($command);
return $result;
}
}