Skip to content

Instantly share code, notes, and snippets.

View pimeo's full-sized avatar

Brtrnd Sru pimeo

View GitHub Profile
<?php
namespace App\Migrations;
use Phinx\Seed\AbstractSeed;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Filesystem\Exception\FileNotFoundException;
class AbstractSeedFromJson extends AbstractSeed
{
@pimeo
pimeo / DIC.js
Last active April 8, 2020 11:18 — forked from jsmanifest/DIC.js
//
// Reference: https://medium.com/better-programming/dependency-injection-containers-in-javascript-5fd2c2b4be30
//
import parseFunction from 'parse-function'
const app = parseFunction({
ecmaVersion: 2017,
})