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
# 5ad638e9477a4de1845f (not found) |
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\Foundation\Testing\WithoutMiddleware; | |
use Illuminate\Foundation\Testing\DatabaseMigrations; | |
use Illuminate\Foundation\Testing\DatabaseTransactions; | |
class GetFileName | |
{ | |
private $keyWord; |
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 Mockery as m; | |
use PayumTW\Allpay\Api; | |
class ApiTest extends PHPUnit_Framework_TestCase | |
{ | |
public function tearDown() | |
{ | |
m::close(); |
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 | |
class PrivateTester | |
{ | |
public $object; | |
public function __construct($object) | |
{ | |
$this->object = $object; | |
} | |
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 | |
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ | |
/** | |
* Converts to and from JSON format. | |
* | |
* JSON (JavaScript Object Notation) is a lightweight data-interchange | |
* format. It is easy for humans to read and write. It is easy for machines | |
* to parse and generate. It is based on a subset of the JavaScript | |
* Programming Language, Standard ECMA-262 3rd Edition - December 1999. | |
* This feature can also be found in Python. JSON is a text format that is |
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 | |
/** | |
* JSMin.php - modified PHP implementation of Douglas Crockford's JSMin. | |
* | |
* <code> | |
* $minifiedJs = JSMin::minify($js); | |
* </code> | |
* | |
* This is a modified port of jsmin.c. Improvements: | |
* |
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 PhpCsFixer\Config; | |
use PhpCsFixer\Finder; | |
$rules = [ | |
'array_syntax' => [ | |
'syntax' => 'short', | |
], | |
'binary_operator_spaces' => [ |
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
'use babel'; | |
import groupBy from 'lodash/groupBy'; | |
import forEach from 'lodash/forEach'; | |
import axios from 'axios'; | |
import { Observable } from 'rxjs/Observable'; | |
import 'rxjs/add/observable/of'; | |
import 'rxjs/add/observable/fromPromise'; | |
import 'rxjs/add/observable/fromEvent'; | |
import 'rxjs/add/operator/map'; |
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
interface SessionInterface { | |
public function start(); | |
public function set($key, $value); | |
public function get($key, $default = null); | |
public function remove($key); | |
public function all(); | |
} | |
class NativeSession implemenet SessionInterface { | |
public function start() { |
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\Http\Middleware; | |
use Closure; | |
use Exception; | |
use Ramsey\Uuid\Uuid; | |
class RequestId | |
{ |
OlderNewer