public function getImagesQuery($data, $inputs)
    {
        foreach ($inputs as $input) {
            $data[] = $this->setData(['image' => ['url' => $input->getImage()]], 'input');
        }

        return $data;
    }
public function getImagesQuery($data, $inputs)
    {
        foreach ($inputs as $input) {
            $data[] = $this->setData(['image' => ['url' => $input->getImage()]], 'input');
        }

        return $data;
    }
public function getImagesQuery ( $ data , $ inputs ) { foreach ( $ inputs as $ input ) { $ data [ ] = $ this -> setData ( [ 'image' => [ 'url' => $ input -> getImage ( ) ] ] , 'input' ) ; } return $ data ; }
Generates Image search query and adds it to existing data

@param $data
@param Input[] $inputs

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