digipolisgent/robo-digipolis-symfony

View on GitHub
src/Robo/Plugin/Commands/DigipolisSymfonyUpdateCommand.php

Summary

Maintainability
A
1 hr
Test Coverage
<?php

namespace DigipolisGent\Robo\Symfony\Robo\Plugin\Commands;

use Consolidation\AnnotatedCommand\Events\CustomEventAwareInterface;
use Robo\Contract\ConfigAwareInterface;
use Robo\Tasks;

class DigipolisSymfonyUpdateCommand extends Tasks implements CustomEventAwareInterface, ConfigAwareInterface
{

    use \DigipolisGent\Robo\Helpers\Traits\EventDispatcher;
    use \Consolidation\AnnotatedCommand\Events\CustomEventAwareTrait;
    use \Consolidation\Config\ConfigAwareTrait;
    use \DigipolisGent\Robo\Task\General\Common\DigipolisPropertiesAware;
    use \DigipolisGent\Robo\Task\General\Tasks;

    /**
     * Install the Symfony site in the current folder.
     *
     * @command digipolis:update-symfony
     */
    public function digipolisUpdateSymfony() {
        $this->readProperties();
        return $this->handleTaskEvent(
            'digipolis:update-symfony',
            []
        );
    }
}