UserReader
in package
Class UserReader
Table of Contents
- $db : Connection
- __construct() : mixed
- UserReader constructor.
- getUserByEmail() : array<string|int, mixed>
- Returns user data of user with provided email.
Properties
$db
private
Connection
$db
Methods
__construct()
UserReader constructor.
public
__construct(Connection $db) : mixed
Parameters
- $db : Connection
Return values
mixed —getUserByEmail()
Returns user data of user with provided email.
public
getUserByEmail(string $email) : array<string|int, mixed>
Parameters
- $email : string