AppserverIo\Appserver\Application\ApplicationStateKeys::__toString PHP Method

__toString() public method

Returns the application state representation as string.
See also: AppserverIo\Appserver\Core\Utilities\ApplicationStateKeys::getApplicationState()
public __toString ( ) : string
return string The string representation of the application state
    public function __toString()
    {
        return sprintf('%d', $this->getApplicationState());
    }