Skip to content

Instantly share code, notes, and snippets.

@cn0047
Created August 3, 2018 14:31
Show Gist options
  • Save cn0047/44f89c6c8ad7ece06f7a8129f4b55efb to your computer and use it in GitHub Desktop.
Save cn0047/44f89c6c8ad7ece06f7a8129f4b55efb to your computer and use it in GitHub Desktop.
Namespace Dependency Injection - index.php
<?php
require_once __DIR__ . '/vendor/autoload.php';
$eu = new VISA\EuropeanUnion();
$result = $eu->approve();
var_export($result);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment