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 hidden or 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; |
This file contains hidden or 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
const Crawler = require('crawler') | |
const baseUrl = 'https://animes.zlx.com.br' | |
const startUrl = baseUrl+'/exibir/67/6561/shingeki-no-kyojin-01' | |
const crawler = new Crawler({ | |
maxConnections: 10, | |
skipDuplicates: true, | |
callback: (error, response, done) => { | |
const $ = response.$ | |
const title = $('title').text() |
Dragon Ball Super - Epis贸dio 1
Qualidade HD MQ LQ
This file contains hidden or 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';