refactor
This commit is contained in:
17
src/Label.php
Normal file
17
src/Label.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
class Label{
|
||||
|
||||
public function __construct(Repo $repo,$data){
|
||||
$this->repo=$repo;
|
||||
$this->data=$data;
|
||||
}
|
||||
|
||||
public function getData(){
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
public function getRepo(){
|
||||
return $this->repo;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user