src/Workers/AbstractWorker.php
final public function run(): void
    {
        $this->getEventsManager()->fire(new WorkerEvent\BeforeFirstWork($this));

        $this->perform();
    }
final public function run(): void
    {
        $this->getEventsManager()->fire(new WorkerEvent\BeforeFirstWork($this));

        $this->perform();
    }
{@inheritdoc}

@return void