AudioDidact\DB\MySQLDAL::getUserByEmail
Gets User from an email
Signature
public function getUserByEmail(string
$email )
Parameters
$email
—
string
Returns
- null|User
Errors/Exceptions
-
PDOException
Parent Implementation
Test Coverage
Information
- Coverage: 10/14 Lines (71.428571428571%)
- Tests: 10
- Passed: 10 (100%)
Tests
- [ PASSED ] — SQLiteTest::testAddUser
- [ PASSED ] — SQLiteTest::testUpdatePassword
- [ PASSED ] — SQLiteTest::testUpdateUser
- [ PASSED ] — SQLiteTest::testAddVideo
- [ PASSED ] — SQLiteTest::testUpdateVideo
- [ PASSED ] — SQLiteTest::testGetFeed
- [ PASSED ] — SQLiteTest::testGetFeedHistory
- [ PASSED ] — SQLiteTest::testGetPrunableVideos
- [ PASSED ] — SQLiteTest::testSetFeedText
- [ PASSED ] — SQLiteTest::testUpdateUserEmailPasswordCodes