public function __construct($name, $mediaType, $href) { $this->name = $name; $this->mediaType = $mediaType; $this->href = $href; }