Skip to content

Instantly share code, notes, and snippets.

Ryan McCullagh rmccullagh

  • Chicago
Block or report user

Report or block rmccullagh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View amezmo-number-formatter.php
require_once 'vendor/autoload.php';
class Invoice
* @var \Stripe\Invoice;
private $invoice;
# This hook is executed after pull
View registerCoreContainerAliases.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],
rmccullagh / registerCoreContainerAliases.php
Last active May 28, 2019
View registerCoreContainerAliases.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;
View BeforeUsingDI.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;
View UsingDI.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;
View Asset.php
namespace App\Asset;
use Illuminate\Support\Facades\Facade;
class Asset extends Facade
* Get the registered name of the component.
View AssetManager.php
namespace App\Asset;
use App\Asset\AssetManagerInterface;
class AssetManager implements AssetManagerInterface
/** @var string */
private $webpackAssetHash;
View app.php
// Note this file is stripped down for example purposes
return [
'providers' => [
// Custom service providers are added here
View AssetServiceProvider.php
namespace App\Asset;
use Illuminate\Contracts\Foundation\Application;
use App\Asset\AssetManager;
class AssetServiceProvider extends \Illuminate\Support\ServiceProvider
You can’t perform that action at this time.