2019-10-09 -> 2021-03-05
2019-12-16: This service is now deprecated since Light 0.49 (the service container has access to the light instance directly, which has access to the http request).
A Light service to access the light and http request instances.
This is a Light framework plugin.
This is part of the universe framework.
Using the planet installer via light-cli
lt install Ling.Light_LightInstance
Using the uni command.
uni import Ling/Light_LightInstance
Or just download it and place it where you want otherwise.
- Light_LightInstance api (generated with DocTools)
- Services
This plugin provides the following services:
- light_instance (returns a LightLightInstanceService instance)
Here is an example of the service configuration:
light_instance:
instance: Ling\Light_LightInstance\Service\LightLightInstanceService
methods:
setContainer:
container: @container()
# --------------------------------------
# hooks
# --------------------------------------
$events.methods_collection:
-
method: registerListener
args:
events: Ling.Light.initialize_1
listener:
instance: @service(light_instance)
callable_method: initialize
-
1.2.7 -- 2021-05-31
- Removing trailing plus in lpi-deps file (to work with Light_PlanetInstaller:2.0.0 api
-
1.2.6 -- 2021-05-11
- Update deps (by CommitWizard).
-
1.2.5 -- 2021-05-10
- Fix assets missing.
-
1.2.4 -- 2021-03-05
- update README.md, add install alternative
-
1.2.3 -- 2020-12-08
- Fix lpi-deps not using natsort.
-
1.2.2 -- 2020-12-04
- Add lpi-deps.byml file
-
1.2.1 -- 2019-12-17
- fix functional typo in service configuration
-
1.2.0 -- 2019-12-17
- update plugin to accommodate Light 0.50 new initialization system
-
1.1.0 -- 2019-12-16
- deprecation notice
-
1.0.2 -- 2019-10-28
- fix no initializer
-
1.0.1 -- 2019-10-09
- fix doc links
-
1.0.0 -- 2019-10-09
- initial commit