mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 07:40:39 -04:00
More refactoring for static analysis
This commit is contained in:
parent
5939195955
commit
ba53958596
9 changed files with 55 additions and 36 deletions
11
lib/EbookSource.php
Normal file
11
lib/EbookSource.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?
|
||||
class EbookSource{
|
||||
public $Type;
|
||||
public $Url;
|
||||
|
||||
public function __construct(int $type, string $url){
|
||||
$this->Type = $type;
|
||||
$this->Url = $url;
|
||||
}
|
||||
}
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue