File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed
Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 22
33namespace LinkORB \Bundle \WikiBundle \Contracts ;
44
5+ use LinkORB \Bundle \MetaEntityBundle \Entity \MetaUserEntity ;
6+
57interface MetaEntityServiceInterface
68{
7- public function getUserRecentByBusinessKey (string $ username , string $ class , int $ maybe_limit );
8- public function getFavoriteByBusinessKey (string $ username , string $ class , int $ maybe_limit );
9- public function toggleFavorite (string $ username , string $ businessKey );
10- public function ensureMetaUserEntity (string $ username , string $ businessKey );
9+ /**
10+ * @return MetaUserEntity[]
11+ */
12+ public function getUserRecentByBusinessKey (string $ username , string $ class , int $ maybe_limit ): array ;
13+
14+ /**
15+ * @return MetaUserEntity[]
16+ */
17+ public function getFavoriteByBusinessKey (string $ username , string $ class , int $ maybe_limit ): array ;
18+
19+ public function toggleFavorite (string $ username , string $ businessKey ): void ;
20+
21+ public function ensureMetaUserEntity (string $ username , string $ businessKey ): MetaUserEntity ;
1122}
You can’t perform that action at this time.
0 commit comments