protected function setAttributes(array $info)
    {
        $result = $this->detector->getResultObject();
        if (array_key_exists('attributes', $info)) {
            foreach ($info['attributes'] as $attributeKey => $attributeValue) {
                Tools::runSetter($result, $attributeKey, $attributeValue);
            }
        }
    }
protected function setAttributes(array $info)
    {
        $result = $this->detector->getResultObject();
        if (array_key_exists('attributes', $info)) {
            foreach ($info['attributes'] as $attributeKey => $attributeValue) {
                Tools::runSetter($result, $attributeKey, $attributeValue);
            }
        }
    }
protected function setAttributes ( array $ info ) { $ result = $ this -> detector -> getResultObject ( ) ; if ( array_key_exists ( 'attributes' , $ info ) ) { foreach ( $ info [ 'attributes' ] as $ attributeKey => $ attributeValue ) { Tools :: runSetter ( $ result , $ attributeKey , $ attributeValue ) ; } } }
Set attributes of result object
@param array $info Array
Set attributes of result object