AwsInspector\Model\Iam\Repository::findCurrentUser PHP Method

findCurrentUser() public method

public findCurrentUser ( ) : AwsInspector\Model\Iam\User
return AwsInspector\Model\Iam\User
    public function findCurrentUser()
    {
        $result = $this->iamClient->getUser();
        return new User($result->get('User'));
    }