mentors

mentors Git Source Tree


Root/vendor/filp/whoops/src/Whoops/Handler/HandlerInterface.php

<?php
/**
 * Whoops - php errors for cool kids
 * @author Filipe Dobreira <http://github.com/filp>
 */

namespace Whoops\Handler;
use Whoops\Exception\Inspector;
use Whoops\Run;
use Exception;

interface HandlerInterface
{
    /**
     * @return int|null  A handler may return nothing, or a Handler::HANDLE_* constant
     */
    public function handle();

    /**
     * @param Run $run
     */
    public function setRun(Run $run);

    /**
     * @param Exception $exception
     */
    public function setException(Exception $exception);

    /**
     * @param Inspector $inspector
     */
    public function setInspector(Inspector $inspector);
}

Archive Download this file

Branches

Number of commits:
Page rendered in 0.12828s using 11 queries.