File tree Expand file tree Collapse file tree
tests/Application/src/Entity Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ namespace BitBag \SyliusUserComPlugin \Entity ;
6+
7+ interface UserComApiAwareInterface
8+ {
9+ public function getUserComUrl (): string ;
10+
11+ public function setUserComUrl (string $ userComUrl ): void ;
12+
13+ public function getUserComApiKey (): string ;
14+
15+ public function setUserComApiKey (string $ userComApiKey ): void ;
16+ }
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ namespace BitBag \SyliusUserComPlugin \Entity ;
6+
7+ trait UserComApiAwareTrait
8+ {
9+ private string $ userComUrl ;
10+
11+ private string $ userComApiKey ;
12+
13+ public function getUserComUrl (): string
14+ {
15+ return $ this ->userComUrl ;
16+ }
17+
18+ public function setUserComUrl (string $ userComUrl ): void
19+ {
20+ $ this ->userComUrl = $ userComUrl ;
21+ }
22+
23+ public function getUserComApiKey (): string
24+ {
25+ return $ this ->userComApiKey ;
26+ }
27+
28+ public function setUserComApiKey (string $ userComApiKey ): void
29+ {
30+ $ this ->userComApiKey = $ userComApiKey ;
31+ }
32+ }
You can’t perform that action at this time.
0 commit comments