Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (31 sloc) 0.467 kB
<?php
class SizePrice {
/**
* Holds the size
* @var string
*/
private $size;
/**
* Holds the price
* @var float
*/
private $price;
public function __construct ($size, $price) {
$this->size = $size;
$this->price = $price;
}
/**
* Returns the size
* @return string
*/
public function getSize () {
return $this->size;
}
/**
* Returns the price
* @return float
*/
public function getPrice () {
return $this->price;
}
}
Jump to Line
Something went wrong with that request. Please try again.