PHP Class Webiny\Component\Security\User\Providers\Entity\Entity

Inheritance: implements Webiny\Component\Security\User\UserProviderInterface
显示文件 Open project: Webiny/Framework

Public Methods

Method Description
__construct ( $params )
getUser ( Login $login ) : AbstractUser Get the user from user provided for the given instance of Login object.

Method Details

__construct() public method

public __construct ( $params )

getUser() public method

Get the user from user provided for the given instance of Login object.
public getUser ( Login $login ) : AbstractUser
$login Webiny\Component\Security\Authentication\Providers\Login Instance of Login object.
return Webiny\Component\Security\User\AbstractUser