<?php

class SphereCalculator {
const PI = 3.14;
const FOUR_THIRDS = 1.3333;




    public function __construct($radius){
        $this->setRadius($radius);
    }

    public function setRadius ($radius){
        $this->classRadius = $radius;
    }

    public function getRadius(){
        return $this->classRadius;
    }


    public function getVolume () {

		return self::FOUR_THIRDS * self::PI * ($this->classRadius * $this->classRadius);
    }


    public function getArea () {

        return self::PI * ($this->classRadius * $this->classRadius);
    }

    public function getDiameter () {

        return $this->classRadius += $this->classRadius;
    }

}

$newRadius = 113;
$mySphere = new SphereCalculator ($newRadius);

echo "The volume of the circle is ".$mySphere->getVolume ()."<br>";
echo "The diameter of the circle is ".$mySphere->getDiameter ()."<br>";
echo "The area of the circle is ".$mySphere->getArea ()."<br>";



?>