get('domain.settings.service')); }; /** * Report Service * * @return AmeliaBooking\Infrastructure\Services\Report\Spout\CsvService */ $entries['infrastructure.report.csv.service'] = function () { return new AmeliaBooking\Infrastructure\Services\Report\Spout\CsvService(); }; /** * PayPal Payment Service * * @param Container $c * * @return AmeliaBooking\Infrastructure\Services\Payment\PayPalService */ $entries['infrastructure.payment.payPal.service'] = function ($c) { return new AmeliaBooking\Infrastructure\Services\Payment\PayPalService( $c->get('domain.settings.service') ); }; /** * Stripe Payment Service * * @param Container $c * * @return AmeliaBooking\Infrastructure\Services\Payment\StripeService */ $entries['infrastructure.payment.stripe.service'] = function ($c) { return new AmeliaBooking\Infrastructure\Services\Payment\StripeService( $c->get('domain.settings.service') ); }; /** * Less Parser Service * * @return AmeliaBooking\Infrastructure\Services\Frontend\LessParserService */ $entries['infrastructure.frontend.lessParser.service'] = function () { return new AmeliaBooking\Infrastructure\Services\Frontend\LessParserService( AMELIA_PATH . '/assets/less/frontend/amelia-booking.less', 'amelia-booking.css', UPLOADS_PATH . '/amelia/css' ); }; /** * Google Calendar Service * * @param Container $c * * @return \AmeliaBooking\Infrastructure\Services\Google\GoogleCalendarService */ $entries['infrastructure.google.calendar.service'] = !AMELIA_LITE_VERSION ? function ($c) { return new AmeliaBooking\Infrastructure\Services\Google\GoogleCalendarService($c); } : function () {};