diff options
Diffstat (limited to 'tests/src/EnvironmentInterface.php')
-rw-r--r-- | tests/src/EnvironmentInterface.php | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/tests/src/EnvironmentInterface.php b/tests/src/EnvironmentInterface.php deleted file mode 100644 index bc0ae043..00000000 --- a/tests/src/EnvironmentInterface.php +++ /dev/null @@ -1,43 +0,0 @@ -<?php - -/** - * High-performance PHP process supervisor and load balancer written in Go. - * - * @author Wolfy-J - */ - -declare(strict_types=1); - -namespace Spiral\RoadRunner; - -use Spiral\RoadRunner\Exception\EnvironmentException; - -/** - * Provides base values to configure roadrunner worker. - */ -interface EnvironmentInterface -{ - /** - * Returns worker mode assigned to the PHP process. - * - * @return string - * @throws EnvironmentException - */ - public function getMode(): string; - - /** - * Address worker should be connected to (or pipes). - * - * @return string - * @throws EnvironmentException - */ - public function getRelayAddress(): string; - - /** - * RPC address. - * - * @return string - * @throws EnvironmentException - */ - public function getRPCAddress(): string; -} |