function __construct($folder) { $self = $this; parent::__construct(null, [$folder]); parent::handle('\\Hero\\Core\\Seeder', function ($_app, $instance) use($self) { array_push($self->instances, $instance); }); $this->load(); }
function __construct() { $folder = !defined('HERO_MODELS') ? 'model' : HERO_MODELS; parent::__construct(null, [$folder]); $this->load(); }
function __construct() { $folder = !defined('ALTER_OPTIONS') ? 'option' : ALTER_OPTIONS; parent::__construct(null, [$folder]); $this->load(); }