app/SearchModels/OrderSearch/Filters/OrderIdEqually.php
/**
     * Apply a given search value to the builder instance.
     *
     * @param Builder $builder
     * @param mixed $value
     * @return Builder $builder
     */
Apply a given search value to the builder instance.
@param Builder $builder
@param mixed $value
@return Builder $builder
Apply a given search value to the builder instance . @param Builder $builder @param mixed $value @return Builder $builder
public static function apply(Builder $builder, $value)
    {
        if($value == '' || $value == null){
            return $builder;
        }
        return $builder->where('id', $value);
    }
public static function apply ( Builder $ builder , $ value ) { if ( $ value == '' || $ value == null ) { return $ builder ; } return $ builder -> where ( 'id' , $ value ) ; }
Apply a given search value to the builder instance.
Apply a given search value to the builder instance .