1 | <?php |
||
15 | class HasInDatabaseOnce extends HasInDatabase |
||
16 | { |
||
17 | private $entry; |
||
18 | |||
19 | /** |
||
20 | * Check if the data is found in the given table once and set the entry to private field. |
||
21 | * |
||
22 | * @param string $table |
||
23 | * |
||
24 | * @return bool |
||
25 | */ |
||
26 | public function matches($table) |
||
35 | |||
36 | /** |
||
37 | * Get the Entry based on the given attributes. |
||
38 | */ |
||
39 | public function getEntry() |
||
43 | } |
||
44 |