mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-20 22:45:05 +02:00
Dummy classes removed
This commit is contained in:
parent
4c4d76bd2d
commit
673acac083
|
@ -1,27 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace Task;
|
|
||||||
|
|
||||||
class MyInconsistentTask
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Returns the Title of the Task
|
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function getName()
|
|
||||||
{
|
|
||||||
return 'my task';
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Runs the task
|
|
||||||
*
|
|
||||||
* @return boolean
|
|
||||||
*/
|
|
||||||
public function run()
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace Task;
|
|
||||||
|
|
||||||
use Exception;
|
|
||||||
use Mage\Task\AbstractTask;
|
|
||||||
use Mage\Task\ErrorWithMessageException;
|
|
||||||
use Mage\Task\SkipException;
|
|
||||||
|
|
||||||
class MyTask extends AbstractTask
|
|
||||||
{
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the Title of the Task
|
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function getName()
|
|
||||||
{
|
|
||||||
return 'my task';
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Runs the task
|
|
||||||
*
|
|
||||||
* @return boolean
|
|
||||||
* @throws Exception
|
|
||||||
* @throws ErrorWithMessageException
|
|
||||||
* @throws SkipException
|
|
||||||
*/
|
|
||||||
public function run()
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue