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_once 'vendor/autoload.php'; | |
class Invoice | |
{ | |
/** | |
* @var \Stripe\Invoice; | |
*/ | |
private $invoice; |
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
#!/bin/bash | |
# This hook is executed after pull | |
env; | |
echo "1" > "${APPLICATION_ROOT}/IS_PROD"; |
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 Application { | |
// Ommited | |
public function registerCoreContainerAliases() | |
{ | |
foreach ([ | |
'app' => [\Illuminate\Foundation\Application::class, \Illuminate\Contracts\Container\Container::class, \Illuminate\Contracts\Foundation\Application::class, \Psr\Container\ContainerInterface::class], | |
'auth' => [\Illuminate\Auth\AuthManager::class, \Illuminate\Contracts\Auth\Factory::class], |
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 Illuminate\Foundation; | |
use Closure; | |
use RuntimeException; | |
use Illuminate\Support\Arr; | |
use Illuminate\Support\Str; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Collection; | |
use Illuminate\Container\Container; |
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\Api\Site\Progress; | |
use Illuminate\Support\Facades\Redis; | |
use Illuminate\Support\Facades\Log; | |
use App\Http\Api\Constants\AmezmoApi; | |
use App\Http\Api\BaseApiController; | |
use App\Http\Api\Site\Progress\Models\ProgressReport; |
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\Api\Site\Progress; | |
use \Illuminate\Redis\Connections\PhpRedisConnection; | |
use \Illuminate\Contracts\Routing\ResponseFactory; | |
use \Psr\Log\LoggerInterface; | |
use App\Http\Api\Constants\AmezmoApi; | |
use App\Http\Api\BaseApiController; |
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\Asset; | |
use Illuminate\Support\Facades\Facade; | |
class Asset extends Facade | |
{ | |
/** | |
* Get the registered name of the component. |
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\Asset; | |
use App\Asset\AssetManagerInterface; | |
class AssetManager implements AssetManagerInterface | |
{ | |
/** @var string */ | |
private $webpackAssetHash; |
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 | |
// Note this file is stripped down for example purposes | |
return [ | |
'providers' => [ | |
// Custom service providers are added here | |
App\Asset\AssetServiceProvider::class | |
], | |
/* |
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\Asset; | |
use Illuminate\Contracts\Foundation\Application; | |
use App\Asset\AssetManager; | |
class AssetServiceProvider extends \Illuminate\Support\ServiceProvider | |
{ |
NewerOlder