src/SEOTools/TwitterCards.php
protected function eachValue(array $values, $prefix = null)
    {
        foreach ($values as $key => $value):
            if (is_array($value)):
                $this->eachValue($value, $key); else:
                if (is_numeric($key)):
                    $key = $prefix.$key; elseif (is_string($prefix)):
                    $key = $prefix.':'.$key;
        endif;

        $this->html[] = $this->makeTag($key, $value);
        endif;
        endforeach;
    }
protected function eachValue(array $values, $prefix = null)
    {
        foreach ($values as $key => $value):
            if (is_array($value)):
                $this->eachValue($value, $key); else:
                if (is_numeric($key)):
                    $key = $prefix.$key; elseif (is_string($prefix)):
                    $key = $prefix.':'.$key;
        endif;

        $this->html[] = $this->makeTag($key, $value);
        endif;
        endforeach;
    }
protected function eachValue ( array $ values , $ prefix = null ) { foreach ( $ values as $ key => $ value ) : if ( is_array ( $ value ) ) : $ this -> eachValue ( $ value , $ key ) ; else : if ( is_numeric ( $ key ) ) : $ key = $ prefix . $ key ; elseif ( is_string ( $ prefix ) ) : $ key = $ prefix . ':' . $ key ; endif ; $ this -> html [ ] = $ this -> makeTag ( $ key , $ value ) ; endif ; endforeach ; }
Make tags.

@param array       $values
@param null|string $prefix

@internal param array $properties
Make tags .