<?php

namespace Nimbusoft\Parrot\Event;

use Nimbusoft\Parrot\Parrot;
use League\Event\AbstractEvent;

class RunEvent extends AbstractEvent
{
    public function __construct(Parrot $parrot, array $config)
    {
        $this->parrot = $parrot;
        $this->config = $config;
    }

    public function getName()
    {
        return 'run';
    }

    public function getConfig(): array
    {
        return $this->config;
    }

    public function setConfig(array $config)
    {
        $this->config = $config;
    }
}

<?php

namespace Nimbusoft\Parrot\Event;

use Nimbusoft\Parrot\Parrot;
use League\Event\AbstractEvent;

class RunEvent extends AbstractEvent
{
    public function __construct(Parrot $parrot, array $config)
    {
        $this->parrot = $parrot;
        $this->config = $config;
    }

    public function getName()
    {
        return 'run';
    }
}

--- 
+++ 
@@ -17,4 +17,14 @@
     {
         return 'run';
     }
+
+    public function getConfig(): array
+    {
+        return $this->config;
+    }
+
+    public function setConfig(array $config)
+    {
+        $this->config = $config;
+    }
 }
Add the ability to set config on run event
