/** * Creates an info window builder. * * @param string $class The class to build. * @param \Ivory\GoogleMapBundle\Model\Base\CoordinateBuilder $coordinateBuilder The coordinate builder. * @param \Ivory\GoogleMapBundle\Model\Base\SizeBuilder $sizeBuilder The size builder. */ public function __construct($class, CoordinateBuilder $coordinateBuilder, SizeBuilder $sizeBuilder) { parent::__construct($class); $this->setCoordinateBuilder($coordinateBuilder); $this->setSizeBuilder($sizeBuilder); $this->reset(); }
/** * Creates a marker image builder. * * @param string $class The class to build. * @param \Ivory\GoogleMapBundle\Model\Base\PointBuilder $pointBuilder The point builder. * @param \Ivory\GoogleMapBundle\Model\Base\SizeBuilder $sizeBuilder The size builder. */ public function __construct($class, PointBuilder $pointBuilder, SizeBuilder $sizeBuilder) { parent::__construct($class); $this->setPointBuilder($pointBuilder); $this->setSizeBuilder($sizeBuilder); $this->reset(); }
/** * Creates a map builder. * * @param string $class The class to build. * @param \Ivory\GoogleMapBundle\Model\Base\CoordinateBuilder $coordinateBuilder The coordinate builder. * @param \Ivory\GoogleMapBundle\Model\Base\BoundBuilder $boundBuilder The bound builder. */ public function __construct($class, CoordinateBuilder $coordinateBuilder, BoundBuilder $boundBuilder) { parent::__construct($class); $this->setCoordinateBuilder($coordinateBuilder); $this->setBoundBuilder($boundBuilder); $this->reset(); }
/** * Creates a marker cluster builder. * * @param string $class The marker cluster class. */ public function __construct($class) { parent::__construct($class); $this->reset(); }
/** * Creates a ground overlay builder. * * @param string $class The class to build. * @param \Ivory\GoogleMapBundle\Model\Base\BoundBuilder $boundBuilder The bound builder. */ public function __construct($class, BoundBuilder $boundBuilder) { parent::__construct($class); $this->setBoundBuilder($boundBuilder); }
/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage The class "foo" does not exist. */ public function testClassWithInvalidValue() { $this->builder->setClass('foo'); }