src/Laravel/QSource.php
public function cropQueryForBlockForCrop($block_name, $crop_name, $image_name='')
    {
        $model_crop = $this->app->make('Interpro\QuickStorage\Laravel\Model\Cropitem');

        $crop_q = $model_crop->query();

        $crop_q->where('block_name', '=', $block_name);
        if($image_name){$crop_q->where('image_name', '=', $image_name);}
        $crop_q->where('name', '=', $crop_name);

        $collection = $crop_q->get();

        if(!$collection->isEmpty())
        {
            $_obj = $collection->first();

            return $_obj->toArray();

        }else{

            throw new BuildQueryException('Данные кропа '.$crop_name.' блока '.$block_name.' картинки '.$image_name.' не найдены в базе.');
        }
    }
public function cropQueryForBlockForCrop($block_name, $crop_name, $image_name='')
    {
        $model_crop = $this->app->make('Interpro\QuickStorage\Laravel\Model\Cropitem');

        $crop_q = $model_crop->query();

        $crop_q->where('block_name', '=', $block_name);
        if($image_name){$crop_q->where('image_name', '=', $image_name);}
        $crop_q->where('name', '=', $crop_name);

        $collection = $crop_q->get();

        if(!$collection->isEmpty())
        {
            $_obj = $collection->first();

            return $_obj->toArray();

        }else{

            throw new BuildQueryException('Данные кропа '.$crop_name.' блока '.$block_name.' картинки '.$image_name.' не найдены в базе.');
        }
    }
@param string $block_name
@param string $image_name
@param string $crop_name

@return array