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.

28 lines
465 B

<?php
class Fichier {
private String $fileName;
private String $path;
public function __construct(String $name, String $path){
$this->fileName = $name;
$this->path = $path;
}
public function getName(): String{
return $this->fileName;
}
public function getPath(): String{
return $this->path;
}
public function setName(String $newName){
$this->fileName = $newName;
}
public function setPath(String $newPath){
$this->path = $newPath;
}
}