Space fighter pass through the back of the blue FMV pillar
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 | |
require dirname(__DIR__) . '/vendor/autoload.php'; | |
defaults('ADMIN_USERNAME','apc'); | |
defaults('ADMIN_PASSWORD','新しいパスワード'); |
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 | |
require __DIR__ . '/vendor/bear/package/src/Bootstrap.php'; | |
require __DIR__ . '/vendor/bear/app-meta/src/AbstractAppMeta.php'; | |
require __DIR__ . '/vendor/bear/app-meta/src/Meta.php'; | |
require __DIR__ . '/vendor/ray/di/src/AbstractModule.php'; | |
require __DIR__ . '/src/Module/AppModule.php'; | |
require __DIR__ . '/vendor/ray/di/src/InjectorInterface.php'; | |
require __DIR__ . '/vendor/bear/package/src/AppInjector.php'; | |
require __DIR__ . '/vendor/ray/compiler/src/ScriptInjector.php'; | |
require __DIR__ . '/vendor/ray/di/src/Name.php'; |
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 MyVendor\MyProject\Module; | |
use BEAR\Package\PackageModule as PackageProdModule; | |
use BEAR\RepositoryModule\Annotation\Storage; | |
use Doctrine\Common\Cache\ApcuCache; | |
use Doctrine\Common\Cache\Cache; | |
use Doctrine\Common\Cache\CacheProvider; | |
use Ray\Di\AbstractModule; | |
use Ray\Di\Scope; |
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
$body = (new \BEAR\Package\Bootstrap) | |
->getApp('MyVendor\MyProject', 'prod-app') | |
->resource->uri('page://self/index')(['name' => 'Sunday'])->body; |
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 | |
// cleanup tmp directory | |
$tmpDir = __DIR__ . '/tmp'; | |
$unlink = function ($path) use (&$unlink) { | |
foreach (glob(rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . '*') as $file) { | |
is_dir($file) ? $unlink($file) : unlink($file); | |
@rmdir($file); | |
} |
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 | |
echo (new App); | |
class App | |
{ | |
private $todos; | |
public function __construct() | |
{ |
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 Foo | |
{ | |
function bar() : string | |
{ | |
} | |
} | |
$returnType = (new ReflectionMethod(new Foo, 'bar'))->getReturnType(); |
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 TransferMoneyContext extends AbstractContext | |
{ | |
/** | |
* @var SourceRole | |
*/ | |
public $sourceAccount; | |
/** |