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 | |
$tests = [ | |
'FavoriteURL', | |
'URLHelper', | |
'FavoriteURLs', | |
'AmazingURLsFromSpace', | |
'FavoriteURLHelper', | |
'FBIManBob', | |
'removeXMLTags', |
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 Dotink\Jest { | |
class Mime extends Jest | |
{ | |
/** | |
* | |
*/ | |
static private $parents = array(); | |
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 Dotink\Jest { | |
include 'Mime.php'; | |
Mime::define('App\Test')->implementing('IFake') | |
-> extending('App\TestBase')->implementing('IFakeBase'); | |
$test = Mime::create('App\Test') | |
-> onNew('factory', function($mime) { | |
$mime -> onCall('speak') -> give(function(){ |
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
<% namespace Dotink\Inkwell\View { | |
/** | |
* | |
* @author Matthew J. Sahagian [mjs] <[email protected]> | |
* @param $users The array of users | |
* @param | |
*/ | |
if ($this['wtf'] == 'test'): |
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
'/test/[!:name]' => function($this) { | |
if ($this['request']->checkMethod('get')) { | |
return strtoupper($this['request']->get('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
$config = preg_replace('#=>\s*array \(#', '=> [', $config); | |
$config = preg_replace('#\),#', '],', $config); | |
$config = preg_replace('#,(\s*)\]#', '$1]', $config); | |
$config = preg_replace('#\d+ => #', '', $config); | |
$config = preg_replace('#\[\s+\]#', '[]', $config); | |
$config = str_replace(' ', "\t", $config); | |
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 | |
function ★() { | |
echo "You're a star! \n"; | |
} | |
★(); |
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 Redub\Base { | |
class Person extends \Redub\ORM\Model | |
{ | |
/** | |
* Fetch the values of the related groups from the database | |
* | |
* @access public | |
* @return Collection The groups values |
OlderNewer