loadUserRecovery example

public function load(array $args): ?UserRecoveryEntity
    {
        Feature::triggerDeprecationOrThrow(
            'v6_6_0_0',
            Feature::deprecatedMethodMessage(self::class, __METHOD__, '6.6.0.0')
        );

        [$id$context] = $args;

        $criteria = new Criteria([$id]);

        return $this->loadUserRecovery($criteria$context$id);
    }

    private function lazyLoad(StorableFlow $storableFlow): ?UserRecoveryEntity
    {
        $id = $storableFlow->getStore(UserAware::USER_RECOVERY_ID);
        if ($id === null) {
            return null;
        }

        $criteria = new Criteria([$id]);

        
Home | Imprint | This part of the site doesn't use cookies.