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
/** | |
* Laravel + PHPUnit assert that blade files are being loaded. | |
* | |
* Trait AssertView | |
*/ | |
trait ViewAssertions | |
{ | |
protected $__loadedViews; | |
protected function captureLoadedViews() |
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 | |
/** | |
* Based on http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml | |
*/ | |
$map = [ | |
100 => 'Continue', | |
101 => 'Switching Protocols', | |
102 => 'Processing', | |
200 => 'OK', | |
201 => 'Created', |