concrete/src/Geolocator/GeolocatorService.php
public function getByID($id)
    {
        $id = (int) $id;

        return $id > 0 ? $this->em->find(Geolocator::class, $id) : null;
    }
public function getByID($id)
    {
        $id = (int) $id;

        return $id > 0 ? $this->em->find(Geolocator::class, $id) : null;
    }
public function getByID ( $ id ) { $ id = ( int ) $ id ; return $ id > 0 ? $ this -> em -> find ( Geolocator :: class , $ id ) : null ; }
Get a geolocator library given its ID.

@param int $id

@return Geolocator|null
Get a geolocator library given its ID .