mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
init session model #14
This commit is contained in:
parent
f1fedfbbcb
commit
b269e24561
1 changed files with 16 additions and 0 deletions
16
src/app/model/session.php
Normal file
16
src/app/model/session.php
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
class AppModelSession {
|
||||
|
||||
private $_address;
|
||||
|
||||
public function __construct(string $address)
|
||||
{
|
||||
$this->_address = $address;
|
||||
}
|
||||
|
||||
public function getAddress() : string
|
||||
{
|
||||
return $this->_address;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue