open-orchestra/open-orchestra-base-bundle

View on GitHub
BaseBundle/HealthCheck/HealthCheckTestResultInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace OpenOrchestra\BaseBundle\HealthCheck;

/**
 * Interface HealthCheckResultInterface
 */
interface HealthCheckTestResultInterface
{
    const WARNING = 1;
    const ERROR = 2;
    const OK = 0;

    /**
     * @return boolean
     */
    public function isError();

    /**
     * @return int
     */
    public function getLevel();

    /**
     * @return string
     */
    public function getLabel();
}