PHP code example of ymbra / drupalrobotasks

1. Go to this page and download the library: Download ymbra/drupalrobotasks 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/ */

    

ymbra / drupalrobotasks example snippets


namespace Drobo\Commands;

use Robo\Tasks;

/**
 * Custom tasks for the project.
 */
class CustomCommands extends Tasks {
  public function helloWorld() {
    $this->io()->newLine();
      $this->io()->title('Hello World.');
  }
}