This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pessoa: | |
definicao: ... | |
Usuario: | |
Perfil: | |
ref: ref(Perfil) | |
tipos: | |
Aluno: ref(Aluno) | |
Vendedor: ref(Vendedor) | |
Perfil: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Illuminate\Foundation; | |
use Closure; | |
use Illuminate\Container\Container; | |
use Illuminate\Contracts\Foundation\Application as ApplicationContract; | |
use Illuminate\Contracts\Foundation\CachesConfiguration; | |
use Illuminate\Contracts\Foundation\CachesRoutes; | |
use Illuminate\Contracts\Http\Kernel as HttpKernelContract; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
|-------------------------------------------------------------------------- | |
| Create The Application | |
|-------------------------------------------------------------------------- | |
| | |
| The first thing we will do is create a new Laravel application instance | |
| which serves as the "glue" for all the components of Laravel, and is | |
| the IoC container for the system binding all of the various parts. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Check if the application is in maintenance mode... | |
if (! file_exists($down = __DIR__.'/down')) { | |
return; | |
} | |
// Decode the "down" file's JSON... | |
$data = json_decode(file_get_contents($down), true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Illuminate\Contracts\Http\Kernel; | |
use Illuminate\Http\Request; | |
define('LARAVEL_START', microtime(true)); | |
/* | |
|-------------------------------------------------------------------------- | |
| Check If Application Is Under Maintenance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* This file is part of the Symfony package. | |
* | |
* (c) Fabien Potencier <[email protected]> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Laravel - A PHP Framework For Web Artisans | |
* | |
* @package Laravel | |
* @author Taylor Otwell <[email protected]> | |
*/ | |
$uri = urldecode( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"folders": [ | |
{ | |
"path": "." | |
} | |
], | |
"extensions": { | |
"recommendations": [ | |
"dracula-theme.theme-dracula", | |
"ritwickdey.liveserver", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ... | |
Route::get('name={name}', function ($name) { | |
return "{$name} say 'hello'!"; | |
}); | |
Route::get('phpinfo', function (){ | |
phpinfo(); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
|-------------------------------------------------------------------------- | |
| Create The Application | |
|-------------------------------------------------------------------------- | |
| | |
| The first thing we will do is create a new Laravel application instance | |
| which serves as the "glue" for all the components of Laravel, and is | |
| the IoC container for the system binding all of the various parts. |
NewerOlder