public static function filterByUuid($filter)
    {
        $operator = Arr::get($filter, 'operator');
        $method = Arr::get($filter, 'method');
        $arguments = Arr::get($filter, 'arguments');
        $value_one = Arr::get($filter, 'value_one');
        $value_two = Arr::get($filter, 'value_two');
        $settings = Arr::get($filter, 'settings');
        $positive = Arr::get($filter, 'positive');

        switch ($operator) {
            case 'IN':
                $method = 'whereIn';
                $arguments = [static::getListFromString($value_one)];
                break;
            case 'NOT_IN':
                $method = 'whereNotIn';
                $arguments = [static::getListFromString($value_one)];
                break;
            case 'NULL':
                $method = 'whereNull';
                break;
            case 'NOT_NULL':
                $method = 'whereNotNull';
                break;
        }

        return [
            'operator'  => $operator,
            'method'    => $method,
            'arguments' => $arguments,
            'value_one' => $value_one,
            'value_two' => $value_two,
            'settings'  => $settings,
            'positive'  => $positive,
        ];
    }
public static function filterByUuid($filter)
    {
        $operator = Arr::get($filter, 'operator');
        $method = Arr::get($filter, 'method');
        $arguments = Arr::get($filter, 'arguments');
        $value_one = Arr::get($filter, 'value_one');
        $value_two = Arr::get($filter, 'value_two');
        $settings = Arr::get($filter, 'settings');
        $positive = Arr::get($filter, 'positive');

        switch ($operator) {
            case 'IN':
                $method = 'whereIn';
                $arguments = [static::getListFromString($value_one)];
                break;
            case 'NOT_IN':
                $method = 'whereNotIn';
                $arguments = [static::getListFromString($value_one)];
                break;
            case 'NULL':
                $method = 'whereNull';
                break;
            case 'NOT_NULL':
                $method = 'whereNotNull';
                break;
        }

        return [
            'operator'  => $operator,
            'method'    => $method,
            'arguments' => $arguments,
            'value_one' => $value_one,
            'value_two' => $value_two,
            'settings'  => $settings,
            'positive'  => $positive,
        ];
    }
public static function filterByUuid ( $ filter ) { $ operator = Arr :: get ( $ filter , 'operator' ) ; $ method = Arr :: get ( $ filter , 'method' ) ; $ arguments = Arr :: get ( $ filter , 'arguments' ) ; $ value_one = Arr :: get ( $ filter , 'value_one' ) ; $ value_two = Arr :: get ( $ filter , 'value_two' ) ; $ settings = Arr :: get ( $ filter , 'settings' ) ; $ positive = Arr :: get ( $ filter , 'positive' ) ; switch ( $ operator ) { case 'IN' : $ method = 'whereIn' ; $ arguments = [ static :: getListFromString ( $ value_one ) ] ; break ; case 'NOT_IN' : $ method = 'whereNotIn' ; $ arguments = [ static :: getListFromString ( $ value_one ) ] ; break ; case 'NULL' : $ method = 'whereNull' ; break ; case 'NOT_NULL' : $ method = 'whereNotNull' ; break ; } return [ 'operator' => $ operator , 'method' => $ method , 'arguments' => $ arguments , 'value_one' => $ value_one , 'value_two' => $ value_two , 'settings' => $ settings , 'positive' => $ positive , ] ; }
Filter by UUID.

@return void

@SuppressWarnings(PHPMD.UnusedLocalVariable)
@SuppressWarnings(PHPMD.CyclomaticComplexity)
Filter by UUID .