| 1 |
<?php |
| 2 |
defined('ABSPATH') or die; |
| 3 |
/** |
| 4 |
* @var $app FluentSupport\Framework\Foundation\Application |
| 5 |
*/ |
| 6 |
|
| 7 |
require_once $app->basePath . 'app/Api/FsFunctions.php'; |
| 8 |
|
| 9 |
$app->singleton('FluentSupport\App\Api\Api', function ($app) { |
| 10 |
return new FluentSupport\App\Api\Api($app); |
| 11 |
}); |
| 12 |
|
| 13 |
$app->alias('FluentSupport\App\Api\Api', 'api'); |
| 14 |
|