for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Nofw\Emperror\Context;
use Nofw\Error\Context;
/**
* Collects environment variables.
*
* @author Márk Sági-Kazár <[email protected]>
*/
final class EnvironmentCollector implements Processor
{
* {@inheritdoc}
public function process(\Throwable $t, array $context): array
return array_replace_recursive(
[
Context::ENVIRONMENT => $_SERVER,
],
$context
);
}