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

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

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

@param $data
@param Input[] $inputs

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