PHP code example of joestewart / robo-vagrant

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

    

joestewart / robo-vagrant example snippets




class RoboFile extends \Robo\Tasks
{

    use \JoeStewart\Robo\Task\Vagrant\loadTasks;
    
    ...
    
    
    public function vagrantUp($arg = '')
    {
        $result = $this->taskVagrantUp()->arg($arg)->run();
        return $result;
    }