GeolocatorService
class GeolocatorService (View source)
Properties
protected Application | $app | ||
protected EntityManagerInterface | $em | ||
protected ObjectRepository | $repo |
Methods
Geolocator|null
getByID(int $id)
Get a geolocator library given its ID.
Geolocator|null
getByHandle(string $handle)
Get a geolocator library given its handle.
Geolocator|null
getCurrent()
Get the currently active geolocator library.
Geolocator|null
getList()
Get all the installed geolocator libraries.
EntityManagerInterface
getEntityManager()
No description
Details
__construct(Application $app, EntityManagerInterface $em)
Initialize the instance.
Geolocator|null
getByID(int $id)
Get a geolocator library given its ID.
Geolocator|null
getByHandle(string $handle)
Get a geolocator library given its handle.
Geolocator|null
getCurrent()
Get the currently active geolocator library.
Geolocator|null
setCurrent(Geolocator $geolocator = null)
Set the currently active geolocator library.
Geolocator[]
getList()
Get all the installed geolocator libraries.
EntityManagerInterface
getEntityManager()
No description
GeolocatorControllerInterface
getController(Geolocator $geolocator)
No description