Subversion-Projekte lars-tiefland.laravel_shop

Revision

Zur aktuellen Revision | Details | 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
 
9
use Whoops\Exception\Inspector;
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
    /**
32
     * @param  Inspector $inspector
33
     * @return void
34
     */
35
    public function setInspector(Inspector $inspector);
36
}