Question

I was having trouble getting the autoload working with Restler 3 RC4 and Amazon Web Services (AWS). Arul provided a fix which worked beautifully.

$loader = require_once 'vendor/autoload.php';
$loader->setUseIncludePath(true);
class_alias('Luracast\\Restler\\Restler', 'Restler');
Was it helpful?

Solution

Just to mark this question as answered I'm placing the answer which is part of the question back here

$loader = require_once 'vendor/autoload.php';
$loader->setUseIncludePath(true);
class_alias('Luracast\\Restler\\Restler', 'Restler');
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top