You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Php_RSS/fluxRSS/metier/Flux.php

37 lines
571 B

<?php
namespace metier;
class Flux
{
private string $id;
private string $flux;
public function __construct(string $id, string $flux){
$this->id =$id;
$this->flux = $flux;
}
/**
* @return string
*/
public function getFlux(): string
{
return $this->flux;
}
/**
* @param string $flux
*/
public function setFlux(string $flux): void
{
$this->flux = $flux;
}
/**
* @return string
*/
public function getId(): string
{
return $this->id;
}
}