public function getInputConceptsQuery($data, $concepts)
    {
        foreach ($concepts as $concept) {
            $data[] = $this->setData(
                [
                    'concepts' => [
                        [
                            'name' => $concept->getName(),
                            'value' => $concept->getValue(),
                        ],
                    ],
                ],
                'input'
            );
        }

        return $data;
    }
public function getInputConceptsQuery($data, $concepts)
    {
        foreach ($concepts as $concept) {
            $data[] = $this->setData(
                [
                    'concepts' => [
                        [
                            'name' => $concept->getName(),
                            'value' => $concept->getValue(),
                        ],
                    ],
                ],
                'input'
            );
        }

        return $data;
    }
public function getInputConceptsQuery ( $ data , $ concepts ) { foreach ( $ concepts as $ concept ) { $ data [ ] = $ this -> setData ( [ 'concepts' => [ [ 'name' => $ concept -> getName ( ) , 'value' => $ concept -> getValue ( ) , ] , ] , ] , 'input' ) ; } return $ data ; }
Generates Input Concept search query and adds it to existing data

@param $data
@param Concept[] $concepts

@return array $data
Generates Input Concept search query and adds it to existing data