for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types = 1);
namespace SlevomatEET;
use SlevomatEET\Type\Enum;
class EvidenceEnvironment extends Enum
{
const PLAYGROUND = 'playground';
const PRODUCTION = 'production';
public function getWsdlPath(): string
if ($this->equalsValue(self::PRODUCTION)) {
return __DIR__ . '/../wsdl/EETServiceSOAP_production.wsdl';
}
return __DIR__ . '/../wsdl/EETServiceSOAP_playground.wsdl';