Skip to content

Instantly share code, notes, and snippets.

@mysiar
Last active October 26, 2020 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mysiar/89bc28496da32b33b359131ce126b3c5 to your computer and use it in GitHub Desktop.
Save mysiar/89bc28496da32b33b359131ce126b3c5 to your computer and use it in GitHub Desktop.
/**
* @ORM\Column(type="decimal", precision=7, scale=1)
* @var float
*/
private $area;
public function setArea(float $area)
{
$this->area = $area;
}
public function getArea(): float
{
return $this->area;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment