phpDocumentor

UserReader

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

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
Tags
throws
UserNotFoundException
Return values
array<string|int, mixed>

Search results