From bf6c0346d8d35a719dd1bff1cb4d573d422f99ff Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 31 May 2017 09:31:18 +0200 Subject: WIP Signed-off-by: Thomas Citharel --- src/Wallabag/FederationBundle/Entity/Instance.php | 111 ++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 src/Wallabag/FederationBundle/Entity/Instance.php (limited to 'src/Wallabag/FederationBundle/Entity/Instance.php') diff --git a/src/Wallabag/FederationBundle/Entity/Instance.php b/src/Wallabag/FederationBundle/Entity/Instance.php new file mode 100644 index 00000000..ff8960cd --- /dev/null +++ b/src/Wallabag/FederationBundle/Entity/Instance.php @@ -0,0 +1,111 @@ +domain = $domain; + } + + /** + * @return int + */ + public function getId() + { + return $this->id; + } + + /** + * @return string + */ + public function getDomain() + { + return $this->domain; + } + + /** + * @param string $domain + */ + public function setDomain($domain) + { + $this->domain = $domain; + } + + /** + * @return float + */ + public function getScore() + { + return $this->score; + } + + /** + * @param float $score + */ + public function setScore($score) + { + $this->score = $score; + } + + /** + * @return array + */ + public function getUsers() + { + return $this->users; + } + + /** + * @param array $users + */ + public function setUsers($users) + { + $this->users = $users; + } +} -- cgit v1.2.3