PHP code example of ec-europa / oe-task-runner
1. Go to this page and download the library: Download ec-europa/oe-task-runner library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ec-europa / oe-task-runner example snippets
namespace My\Project\TaskRunner\Commands;
use OpenEuropa\TaskRunner\Commands\AbstractCommands;
/**
* Class MyCustomCommands
*
* @package My\Project\TaskRunner\Commands
*/
class MyCustomCommands extends AbstractCommands
{
/**
* @command my-project:command-one
*/
public function commandOne() { }
/**
* @command my-project:command-two
*/
public function commandTwo() { }
}