public function getAgeVerificationsFromAttrsMap()
    {
        $ageVerificationsArr = [];

        foreach ($this->profileAttributesMap as $attrName => $attributeObj) {
            foreach ($this->getAgeProcessors() as $ageProcessorClass) {
                $abstractAgeProcessorClass = '\\Yoti\\Util\\Age\\AbstractAgeProcessor';
                if (null !== $attrName
                    && null !== $attributeObj
                    && is_subclass_of($ageProcessorClass, $abstractAgeProcessorClass)
                ) {
                    /**
                     * @var \Yoti\Util\Age\AbstractAgeProcessor $ageProcessorObj
                     */
                    $ageProcessorObj = new $ageProcessorClass($attributeObj);

                    if ($ageVerification = $ageProcessorObj->process()) {
                        $ageVerificationsArr[$attrName] = $ageVerification;
                    }
                }
            }
        }

        return $ageVerificationsArr;
    }
public function getAgeVerificationsFromAttrsMap()
    {
        $ageVerificationsArr = [];

        foreach ($this->profileAttributesMap as $attrName => $attributeObj) {
            foreach ($this->getAgeProcessors() as $ageProcessorClass) {
                $abstractAgeProcessorClass = '\\Yoti\\Util\\Age\\AbstractAgeProcessor';
                if (null !== $attrName
                    && null !== $attributeObj
                    && is_subclass_of($ageProcessorClass, $abstractAgeProcessorClass)
                ) {
                    /**
                     * @var \Yoti\Util\Age\AbstractAgeProcessor $ageProcessorObj
                     */
                    $ageProcessorObj = new $ageProcessorClass($attributeObj);

                    if ($ageVerification = $ageProcessorObj->process()) {
                        $ageVerificationsArr[$attrName] = $ageVerification;
                    }
                }
            }
        }

        return $ageVerificationsArr;
    }
public function getAgeVerificationsFromAttrsMap ( ) { $ ageVerificationsArr = [ ] ; foreach ( $ this -> profileAttributesMap as $ attrName => $ attributeObj ) { foreach ( $ this -> getAgeProcessors ( ) as $ ageProcessorClass ) { $ abstractAgeProcessorClass = '\\Yoti\\Util\\Age\\AbstractAgeProcessor' ; if ( null !== $ attrName && null !== $ attributeObj && is_subclass_of ( $ ageProcessorClass , $ abstractAgeProcessorClass ) ) { /**
                     * @var \Yoti\Util\Age\AbstractAgeProcessor $ageProcessorObj
                     */ $ ageProcessorObj = new $ ageProcessorClass ( $ attributeObj ) ; if ( $ ageVerification = $ ageProcessorObj -> process ( ) ) { $ ageVerificationsArr [ $ attrName ] = $ ageVerification ; } } } } return $ ageVerificationsArr ; }
Return list of age verification.

@return array of AgeVerification
e.g [
'age_under:18' => new AgeVerification(...),
'age_over:50' => new AgeVerification(...),
...
]
Return list of age verification .