PHP code example of artack / symfony-ohdear-command

1. Go to this page and download the library: Download artack/symfony-ohdear-command 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/ */

    

artack / symfony-ohdear-command example snippets


class YourNewSymfonyCommand extends OhDearCommand

protected function configure(): void
{
    parent::configure();

    # following your own configurations
}

protected function doExecute(InputInterface $input, OutputInterface $output): int {...}