public function __construct($name, $a, $invF) { if (0.0 >= (double) $invF) { throw new InvalidArgumentException('The inverse flattening cannot be negative or equal to zero !'); } $this->name = $name; $this->a = $a; $this->invF = $invF; }