public function renderSimple(array $values, array $propertyNames)
    {
        $data = [];
        foreach ($propertyNames as $key => $label) {
            $data[] = [$label, $values[$key]];
        }
        $this->render($data, ['Property', 'Value']);
    }
public function renderSimple(array $values, array $propertyNames)
    {
        $data = [];
        foreach ($propertyNames as $key => $label) {
            $data[] = [$label, $values[$key]];
        }
        $this->render($data, ['Property', 'Value']);
    }
public function renderSimple ( array $ values , array $ propertyNames ) { $ data = [ ] ; foreach ( $ propertyNames as $ key => $ label ) { $ data [ ] = [ $ label , $ values [ $ key ] ] ; } $ this -> render ( $ data , [ 'Property' , 'Value' ] ) ; }
Render an single-dimensional array of values, with their property names.

@param string[] $values
@param string[] $propertyNames
Render an single - dimensional array of values with their property names .