| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function register() |
||
| 28 | { |
||
| 29 | // Automatically apply the package configuration |
||
| 30 | $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'airtable'); |
||
| 31 | |||
| 32 | // Register the main class to use with the facade |
||
| 33 | $this->app->singleton('airtable', function ($app) { |
||
| 34 | return new AirtableManager($app); |
||
| 35 | }); |
||
| 36 | |||
| 37 | // Register the main class to use with the facade |
||
| 38 | $this->app->singleton('airtable.table', function () { |
||
| 39 | return $this->app['airtable']->table($this->getDefaultTable()); |
||
| 40 | }); |
||
| 41 | } |
||
| 42 | |||
| 53 |