Property | Type | Description | |
---|---|---|---|
$returnLoginObject | boolean | Using this static attribute we can change the return of the getUser method, enabling us to test different cases. |
Method | Description | |
---|---|---|
getUser ( |
Get the user from user provided for the given instance of Login object. |
public getUser ( |
||
$login | Instance of Login object. | |
return |
public static bool $returnLoginObject | ||
return | boolean |