[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
peminjaman
/
vendor
/
laravel
/
telescope
/
src
/
[
Home
]
File: AuthorizesRequests.php
<?php namespace Laravel\Telescope; trait AuthorizesRequests { /** * The callback that should be used to authenticate Telescope users. * * @var \Closure */ public static $authUsing; /** * Register the Telescope authentication callback. * * @param \Closure $callback * @return static */ public static function auth($callback) { static::$authUsing = $callback; return new static; } /** * Determine if the given request can access the Telescope dashboard. * * @param \Illuminate\Http\Request $request * @return bool */ public static function check($request) { return (static::$authUsing ?: function () { return app()->environment('local'); })($request); } }