cas_mock_server-8.x-1.0/src/ServerManagerInterface.php
src/ServerManagerInterface.php
<?php
declare(strict_types=1);
namespace Drupal\cas_mock_server;
/**
* Interface for services providing methods to start and stop the mock server.
*/
interface ServerManagerInterface {
/**
* Starts the mock server.
*/
public function start(): void;
/**
* Stops the mock server.
*/
public function stop(): void;
/**
* Returns whether or not the server is active.
*
* @return bool
* TRUE when the server is active.
*/
public function isServerActive(): bool;
}
