X

Create New Item

File Folder

X

Search Results

File "InspectorFactory.php"

Full path: /home/orbitecv/orbite-school.orbit.et/vendor/filp/whoops/src/Whoops/Inspector/InspectorFactory.php
File size: 416 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

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

namespace Whoops\Inspector;

use Whoops\Exception\Inspector;

class InspectorFactory implements InspectorFactoryInterface
{
    /**
     * @param \Throwable $exception
     * @return InspectorInterface
     */
    public function create($exception)
    {
        return new Inspector($exception, $this);
    }
}