Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
/**
3
 * Whoops - php errors for cool kids
4
 * @author Filipe Dobreira <http://github.com/filp>
5
 */
6
 
7
namespace Whoops\Handler;
8
 
688 lars 9
use Whoops\Inspector\InspectorInterface;
148 lars 10
use Whoops\RunInterface;
11
 
12
interface HandlerInterface
13
{
14
    /**
15
     * @return int|null A handler may return nothing, or a Handler::HANDLE_* constant
16
     */
17
    public function handle();
18
 
19
    /**
20
     * @param  RunInterface  $run
21
     * @return void
22
     */
23
    public function setRun(RunInterface $run);
24
 
25
    /**
26
     * @param  \Throwable $exception
27
     * @return void
28
     */
29
    public function setException($exception);
30
 
31
    /**
688 lars 32
     * @param  InspectorInterface $inspector
148 lars 33
     * @return void
34
     */
688 lars 35
    public function setInspector(InspectorInterface $inspector);
148 lars 36
}