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 Acme; | |
include_once realpath(__DIR__ . '/vendor/autoload.php'); | |
use \Symfony\Component\Finder\Finder; | |
class U { | |
public static function H($data, $default=null) { |
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 | |
/** | |
* GDでTTF | |
* @author [email protected] | |
*/ | |
$fontFile = __DIR__ . DIRECTORY_SEPARATOR . 'yojo.ttf'; | |
$text = (isset($_GET['text'])) ? $_GET['text'] : null; | |
$fontSize = (isset($_GET['size']) && ctype_digit($_GET['size'])) ? intval($_GET['size']) : null; |
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 sandbox\Resource\App\First; | |
use BEAR\Resource\AbstractObject; | |
/** | |
* Greeting resource | |
*/ | |
class Greeting extends AbstractObject | |
{ |
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 sandbox\Resource\App\First; | |
use BEAR\Resource\AbstractObject; | |
/** | |
* Greeting resource | |
*/ | |
class Greeting extends AbstractObject | |
{ |
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
{ | |
"repositories": [ | |
{ | |
"type":"package", | |
"package": { | |
"name": "phanda/pathtranslator", | |
"version": "dev-master", | |
"dist": { | |
"url": "https://github.com/k-holy/Phanda_PathTranslator/zipball/master", | |
"type": "zip" |
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 | |
// autoload_namespace.php generated by Composer | |
$vendorDir = dirname(__DIR__); | |
$baseDir = dirname($vendorDir); | |
return array( | |
'Volcanus\\Validation' => $vendorDir . '/volcanus/validation/src/', | |
'Symfony\\Component\\HttpFoundation' => $vendorDir . '/symfony/http-foundation/', |
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
{ | |
"require": { | |
"symfony/class-loader": "2.1.*" | |
} | |
} |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8" /> | |
</head> | |
<body> | |
<ul> | |
<li> | |
<dl> | |
<dt>cab.cab</dt> |
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 Acme; | |
class FilterableAccessor | |
{ | |
private $attributes; | |
private $filters; | |
public function __construct(array $params = array()) | |
{ |
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 | |
/** | |
* @group ZF-10267 | |
*/ | |
public function testURI() | |
{ | |
$valuesExpected = array( | |
array(Hostname::ALLOW_URI, true, array('localhost', 'example.com', '~ex%20ample')), | |
array(Hostname::ALLOW_URI, false, array('§bad', 'don?t.know', 'thisisaverylonghostnamewhichextendstwohundredfiftysixcharactersandthereforshouldnotbeallowedbythisvalidatorbecauserfc3986limitstheallowedcharacterstoalimitoftwohunderedfiftysixcharactersinsumbutifthistestwouldfailthenitshouldreturntruewhichthrowsanexceptionbytheunittest')), | |
); |