public function mapDataToForms($data, $forms)
    {
        $forms = iterator_to_array($forms);
        $forms["value"]->setData($data ? $data->format($forms["picker_format"]): "");
    }
public function mapDataToForms($data, $forms)
    {
        $forms = iterator_to_array($forms);
        $forms["value"]->setData($data ? $data->format($forms["picker_format"]): "");
    }
public function mapDataToForms ( $ data , $ forms ) { $ forms = iterator_to_array ( $ forms ) ; $ forms [ "value" ] -> setData ( $ data ? $ data -> format ( $ forms [ "picker_format" ] ) : "" ) ; }
Maps properties of some data to a list of forms.

@param mixed $data Structured data
@param FormInterface[]|\Traversable $forms A list of {@link FormInterface} instances

@throws Exception\UnexpectedTypeException if the type of the data parameter is not supported.
Maps properties of some data to a list of forms .