Skip to content

Instantly share code, notes, and snippets.

@harikt
Created January 29, 2013 18:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save harikt/4666410 to your computer and use it in GitHub Desktop.
Class usage with Aura.Autoload , please refer https://wiki.php.net/rfc/splclassloader
<?php
$loader = require dirname(dirname(__DIR__)) . '/aurasystem/package/Aura.Autoload/scripts/instance.php';
$loader->setClass('PHPCrawler', __DIR__ . '/libs/PHPCrawler.class.php');
$loader->register();
$loader->setMode(0);
$class = new PHPCrawler();
var_dump($class);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment