[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
Jurnal PSCP
/
lib
/
pkp
/
lib
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
[
Home
]
File: ViewController.php
<?php namespace Illuminate\Routing; use Illuminate\Contracts\View\Factory as ViewFactory; class ViewController extends Controller { /** * The view factory implementation. * * @var \Illuminate\Contracts\View\Factory */ protected $view; /** * Create a new controller instance. * * @param \Illuminate\Contracts\View\Factory $view * @return void */ public function __construct(ViewFactory $view) { $this->view = $view; } /** * Invoke the controller method. * * @param array $args * @return \Illuminate\Contracts\View\View */ public function __invoke(...$args) { [$view, $data] = array_slice($args, -2); return $this->view->make($view, $data); } }