public function __construct(APIDI $di) { // Configure the API App $this->setApp(new PhrestAPI($di)); parent::__construct(realpath(__DIR__ . '/../')); }