private function doCircleEncode($type, CircleMarker $circle, Encoder $builder)
    {
        return sprintf(
            '%s = L.%s(%s);',
            $builder->encodeReference($circle),
            $type,
            $builder->encodeArguments(array($circle->getLatLng(), $circle, $circle->getOptions()))
        );
    }
private function doCircleEncode($type, CircleMarker $circle, Encoder $builder)
    {
        return sprintf(
            '%s = L.%s(%s);',
            $builder->encodeReference($circle),
            $type,
            $builder->encodeArguments(array($circle->getLatLng(), $circle, $circle->getOptions()))
        );
    }
private function doCircleEncode ( $ type , CircleMarker $ circle , Encoder $ builder ) { return sprintf ( '%s = L.%s(%s);' , $ builder -> encodeReference ( $ circle ) , $ type , $ builder -> encodeArguments ( array ( $ circle -> getLatLng ( ) , $ circle , $ circle -> getOptions ( ) ) ) ) ; }
Encode a circle.

@param string       $type    The circle type.
@param CircleMarker $circle  The circle object.
@param Encoder      $builder The builder.

@return array
Encode a circle .