WIP avancing on implementing folder into personal space
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
6875c500f2
commit
c82b329652
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace IQBall\Core\Data;
|
||||
|
||||
class PersonalSpaceFolder implements PersonalSpaceItem {
|
||||
private int $id;
|
||||
private string $name;
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
* @param string $name
|
||||
*/
|
||||
public function __construct(int $id, string $name) {
|
||||
$this->id = $id;
|
||||
$this->name = $name;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getId(): int {
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName(): string {
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace IQBall\Core\Data;
|
||||
|
||||
interface PersonalSpaceItem {
|
||||
public function getId();
|
||||
public function getName();
|
||||
|
||||
}
|
Loading…
Reference in new issue