for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Wonderland\Thread\Tests\Implementation;
use Wonderland\Thread\AbstractThread;
class SuccessThread extends AbstractThread
{
public function method()
$this->notify(new TestEvent());
return self::EXIT_STATUS_SUCCESS;
}
/**
* Return the name of the method to process during the thread
*
* @return string
*/
protected function getMethodName(): string
return 'method';
* Return the list of dependencies that will be passed as parameters of the method referenced by getMethodName
* @return array
protected function getDependencies(): array
return ['toto'];