use PHPUnit\Framework\TestCase;
trait Greeting
{
public function hello($name)
{
return 'Hello '.$name;
}
}
use PHPUnit\Framework\TestCase;
interface Greeting
{
public function hello($name);
}
class GreetingTest extends TestCase
{
use PHPUnit\Framework\TestCase;
abstract class Greeting
{
public function hello($name)
{
return 'Hello '.$name;
}
}
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 App\Exceptions; | |
use Exception; | |
use Illuminate\Auth\AuthenticationException; | |
use Symfony\Component\HttpFoundation\Response; | |
use Symfony\Component\HttpKernel\Exception\HttpException; | |
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; |
Dragon Ball Super - Episódio 1
Qualidade HD MQ LQ
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
version: '2' | |
services: | |
wordpress: | |
image: wordpress:4.7.3-php5.6-apache | |
container_name: sandbox-wordpress | |
volumes: | |
- ./:/var/www/html | |
ports: | |
- 8080:80 |
$subject = 'flying';
switch ($subject) {
case 'flying':
$result = 'potato';
break;
case 'bacon':
$result = 'is life';
Route::get('/api/users/{id}', function ($id) {
return App\User::find($id);
});
{
"id": 1,
"name": "Anakin Skywalker",
"email": "anakin@death.star",
"created_at": "2017-02-14 01:53:04",
"updated_at": "2017-02-14 01:53:04"
}