public function evaluateAttributesInternal($event)
    {
        if (empty($event->data['attributes']) === false) {
            $methodName = $event->data['methodName'];
            $value = $this->$methodName($event);
            foreach ((array) $event->data['attributes'] as $attribute) {
                if (is_string($attribute)) {
                    $this->$attribute = $value;
                }
            }
        }
    }
public function evaluateAttributesInternal($event)
    {
        if (empty($event->data['attributes']) === false) {
            $methodName = $event->data['methodName'];
            $value = $this->$methodName($event);
            foreach ((array) $event->data['attributes'] as $attribute) {
                if (is_string($attribute)) {
                    $this->$attribute = $value;
                }
            }
        }
    }
public function evaluateAttributesInternal ( $ event ) { if ( empty ( $ event -> data [ 'attributes' ] ) === false ) { $ methodName = $ event -> data [ 'methodName' ] ; $ value = $ this -> $ methodName ( $ event ) ; foreach ( ( array ) $ event -> data [ 'attributes' ] as $ attribute ) { if ( is_string ( $ attribute ) ) { $ this -> $ attribute = $ value ; } } } }
Evaluates the attribute value and assigns it to the current attributes.
@param Event $event
Evaluates the attribute value and assigns it to the current attributes .